Question 146

When using parent/child modules to deploy infrastructure, how would you export a value from one module to import into another module.
For example, a module dynamically deploys an application instance or virtual machine, and you need the IP address in another module to configure a related DNS record in order to reach the newly deployed application.
  • Question 147

    Which of the following is the correct way to pass the value in the variable num_servers into a module with the input servers?
  • Question 148

    What does terraform refresh command do?
  • Question 149

    You want to use terraform import to start managing infrastructure that was not originally provisioned through infrastructure as code. Before you can import the resource's current state, what must you do in order to prepare to manage these resources using Terraform?