Skip to content

Instantly share code, notes, and snippets.

@AHaydar

AHaydar/block9. Secret

Created March 11, 2021 22:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AHaydar/dad2d1de6daaf96bb12678c780d49f06 to your computer and use it in GitHub Desktop.
Save AHaydar/dad2d1de6daaf96bb12678c780d49f06 to your computer and use it in GitHub Desktop.
BastionHostEC2Instance:
Type: AWS::EC2::Instance
Properties:
InstanceType: t2.micro
ImageId: ami-0947d2ba12ee1ff75
Tags:
- Key: Name
Value: Bastion Host
KeyName: !Ref KeyName
NetworkInterfaces:
- AssociatePublicIpAddress: true
DeviceIndex: 0
GroupSet:
- !Ref AwesomeSecurityGroup
SubnetId:
!Ref SubnetPublic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment