1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
Here is the example from the documentation:
Resources:
WebServerInstance:
Type: 'AWS::EC2::Instance'
Properties:
InstanceType: t2.micro
ImageId: ami-a1b23456
NetworkInterfaces:
- GroupSet:
- Fn::ImportValue:
'Fn::Sub': '${NetworkStackNameParameter}-SecurityGroupID'
AssociatePublicIpAddress: 'true'
DeviceIndex: '0'
DeleteOnTermination: 'true'
SubnetId: Fn::ImportValue
'Fn::Sub': '${NetworkStackNameParameter}-SubnetID'
It looks like you are presenting an array, '-', as the value to SubnetId.
関連するコンテンツ
- 質問済み 3ヶ月前