Your root module contains a variable namednum_servers. Which is the correct way to pass its value to a child module with an input namedservers?
You need to destroy all of the resources in your Terraform workspace, except for aws_instance.ubuntu[1], which you want to keep. How can you tell Terraform to stop managing that specific resource without destroying it?
Which of the following arguments are required when declaring a Terraform output?
You have just developed a new Terraform configuration for two virtual machines with a cloud provider. You would like to create the infrastructure for the first time.
Which Terraform command should you runfirst?
All modules published on the official Terraform Module Registry have been verified by HasihCorp.
You are writing a child Terraform module that provisions an AWS instance. You want to reference the IP address returned by the child module in the root configuration. You name the instance resource " main ' .
Which of these is the correct way to define the output value?
If you manually destroy infrastructure, what is the best practice reflecting this change in Terraform?