What value does the Terraform Cloud private registry provide over the public Terraform Module Registry?
What Terraform command always causes a state file to be updated with changes that might have been made outside of Terraform?
Exhibit:
Error: Saved plan is stale
The given plan file can no longer be applied because the state was changed by another operation after the plan was created.
You have a saved execution plan containing desired changes for infrastructure managed by Terraform. After running terraform apply my.tfplan, you receive the error shown. How can you apply the desired changes? (Pick the 2 correct responses below.)
You have provisioned some virtual machines (VMs) on Google Cloud Platform (GCP) using the gcloud command line tool. However, you are standardizing with Terraform and want to manage these VMs using Terraform instead. What are the two things you must do to achieve this? Choose two correct answers.
By default, if you do not define a backend for your configuration, where does Terraform store information about the resources that it manages?
A module can always refer to all variables declared in its parent module.
Which task does terraform init not perform?
All standard backend types support state locking, and remote operations like plan, apply, and destroy.
One cloud block always maps to a single HCP Terraform/Terraform Cloud workspace.
You have a simple Terraform configuration containing one virtual machine (VM) in a cloud provider. You run terraform apply and the VM is created successfully. What will happen if you terraform apply again immediately afterward without changing any Terraform code?