Skip to content

Instantly share code, notes, and snippets.

@anneakin
Created May 23, 2020 00:49
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 anneakin/1958e07a56fc3c5c18ded756c2fe1279 to your computer and use it in GitHub Desktop.
Save anneakin/1958e07a56fc3c5c18ded756c2fe1279 to your computer and use it in GitHub Desktop.
AWS CloudFormation Outputs
Outputs:
EC2PrivateIp:
Description: Private IP address of EC2 instance created in stack.
Value: !GetAtt UserEc2Instance.PrivateIp
EC2PublicIp:
Description: Public IP address of EC2 instance created in stack.
Value: !GetAtt UserEc2Instance.PublicIp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment