Why would you use the -replace flag for terraform apply?
You add a new provider to your configuration and immediately run terraform apply in the CD using the local backend. Why does the apply fail?
Which task does terraform init not perform?
Before you can use a new backend or HCP Terraform/Terraform Cloud integration, you must first execute terraform init.
Terraform can only manage resource dependencies if you set them explicitly with the depends_on argument.
Which Terraform collection type should you use to store key/value pairs?
Which of these ate secure options for storing secrets for connecting to a Terraform remote backend? Choose two correct answers.
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?
As a developer, you want to ensure your plugins are up to date with the latest versions. Which Terraform command should you use?
Only the user that generated a terraform plan may apply it.