diff --git a/2-simple-example/README.md b/2-simple-example/README.md index 6a504d6..3a8ef47 100644 --- a/2-simple-example/README.md +++ b/2-simple-example/README.md @@ -25,7 +25,7 @@ I've also updated ```outputs.tf``` to show the public IP address of the instance ```terraform # Public IP of instance -out "instance_public_ip" { +output "instance_public_ip" { description = "Show the public IP of the instance deployed" value = aws_instance.test_ami.public_ip } diff --git a/2-simple-example/code/outputs.tf b/2-simple-example/code/outputs.tf index b64185d..61cacf6 100644 --- a/2-simple-example/code/outputs.tf +++ b/2-simple-example/code/outputs.tf @@ -27,7 +27,7 @@ output "nat_public_ips" { } # Public IP of instance -out "instance_public_ip" { +output "instance_public_ip" { description = "Show the public IP of the instance deployed" value = aws_instance.test_ami.public_ip }