PdfPrep.com

Please Answer Questions Follow The Prompts Below

}
A . value of the web_server parameter from the variables.tf file
B . the output of a module named web_server
C . the regular expression named module.web_server
D . by querying the AWS EC2 API to retrieve the IP address

Answer: B

Explanation:

In a parent module, outputs of child modules are available in expressions as module. <MODULE NAME>.<OUTPUT NAME>. For example, if a child module named web_server declared an output named instance_ip_addr, you could access that value as module.web_server.instance_ip_addr.

Exit mobile version