QuestionQ29
VerifiedTerraform modulesYou are updating a child module that contains the following resource block in the Exhibit area on this page. The resource’s public_ip attribute must be accessible from the parent module.
resource “aws_instance” “example” \{
ami = “ami-0a123456789abcdef”
instance_type = “t3.micro”
\}
How can you satisfy this requirement?
Community Discussion