パパエンジニアのアウトプット帳

30歳に突入した1児のパパエンジニアのブログ

CloudFormationのAWS::EC2::InstanceでNetworkInterfacesとSecurityGroupIdsは一緒に使えない

CloudFormationでEC2のインスタンスを作成しようとした時に下記のエラーが出てハマった。

Network interfaces and an instance-level security groups may not be specified on the same request

解決方法としては下記の通りNetworkInterfacesとSecurityGroupIdsは一緒に使えないのでNetworkInterfaces中のGroupSetで設定しましょう。

www.kabegiwablog.com