Skip to content

Instantly share code, notes, and snippets.

@midN
Last active December 30, 2018 02:57
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 midN/fb832e50b47d60fd7aa4bf3e27d87674 to your computer and use it in GitHub Desktop.
Save midN/fb832e50b47d60fd7aa4bf3e27d87674 to your computer and use it in GitHub Desktop.
medium_eni
Eni:
Type: AWS::EC2::NetworkInterface
Properties:
SourceDestCheck: false
GroupSet: your_sg
SubnetId: your_subnet
PrivateIpAddress: 172.16.13.37
Eip:
Type: AWS::EC2::EIP
Properties:
Domain: vpc
EipAssoc:
Type: AWS::EC2::EIPAssociation
Properties:
AllocationId: !GetAtt Eip.AllocationId
NetworkInterfaceId: !Ref Eni
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment