correct syntax for output in lab 2

This commit is contained in:
Ric Harvey 2024-04-16 16:34:31 +01:00
parent f687a6e9d7
commit 4e0325b7cc
Signed by: ric
GPG key ID: 7FDEB4C0C7D5CB61
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ I've also updated ```outputs.tf``` to show the public IP address of the instance
```terraform ```terraform
# Public IP of instance # Public IP of instance
out "instance_public_ip" { output "instance_public_ip" {
description = "Show the public IP of the instance deployed" description = "Show the public IP of the instance deployed"
value = aws_instance.test_ami.public_ip value = aws_instance.test_ami.public_ip
} }

View file

@ -27,7 +27,7 @@ output "nat_public_ips" {
} }
# Public IP of instance # Public IP of instance
out "instance_public_ip" { output "instance_public_ip" {
description = "Show the public IP of the instance deployed" description = "Show the public IP of the instance deployed"
value = aws_instance.test_ami.public_ip value = aws_instance.test_ami.public_ip
} }