Skip to content

Instantly share code, notes, and snippets.

@anneakin
Created May 23, 2020 01:22
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/5af8417642a7e1572946fd6a24837e13 to your computer and use it in GitHub Desktop.
Save anneakin/5af8417642a7e1572946fd6a24837e13 to your computer and use it in GitHub Desktop.
Terraform sandbox outputs file
output "ec2_public_ip" {
value = "${aws_instance.user_ec2_instance.public_ip}"
}
output "ec2_private_ip" {
value = "${aws_instance.user_ec2_instance.private_ip}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment