Skip to content

Instantly share code, notes, and snippets.

@AHaydar

AHaydar/block6. 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/6636b8381e57b29bb3dd2ea98785a307 to your computer and use it in GitHub Desktop.
Save AHaydar/6636b8381e57b29bb3dd2ea98785a307 to your computer and use it in GitHub Desktop.
NatGatewayEIP:
Type: AWS::EC2::EIP
DependsOn: VpcInternetGatewayAttachment
Properties:
Domain: vpc
NatGateway:
Type: AWS::EC2::NatGateway
Properties:
AllocationId: !GetAtt NatGatewayEIP.AllocationId
SubnetId: !Ref SubnetPublic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment