Skip to content

Commit

Permalink
Merge pull request #451 from katsuhisa91/patch-2
Browse files Browse the repository at this point in the history
Fix: Replace SecurityGroups with SecurityGroupIds in YAML template
  • Loading branch information
ericzbeard authored Sep 12, 2024
2 parents c239ada + 6b7a006 commit 5912af3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EC2/EC2InstanceWithSecurityGroupSample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ Resources:
SubnetId: !Select
- 0
- !Ref Subnets
SecurityGroups:
- !Ref InstanceSecurityGroup
SecurityGroupIds:
- !GetAtt InstanceSecurityGroup.GroupId
KeyName: !Ref KeyName
ImageId: !Ref LatestAmiId

Expand Down

0 comments on commit 5912af3

Please sign in to comment.