Outside of the required_providers block, Terraform configurations always refer to providers by their local names.
Which two steps are required to provision new infrastructure in the Terraform workflow? Choose two correct answers.
You are responsible for a set of infrastructure that is managed by two workspaces: example-network and example-compute. The example-compute workspace uses data from output values configured in the example-network workspace and must be deployed afterward. Currently, this is a manual process:
An operator deploys changes to the example-network workspace.
They manually copy the output values from the example-network workspace to input variables configured for the example-compute workspace.
They deploy the example-compute workspace.
Which HCP Terraform features can you use to automate this process?
Pick the two correct responses below.
When using multiple configurations of the same Terraform provider, what meta-argument must you include in any non-default provider configurations?
terraform apply is failing with the following error. What next step should you take to determine the root cause of the problem?
Error:
yaml
CopyEdit
Error loading state: AccessDenied: Access Denied
status code: 403, request id: 288766CE5CCA24A0, host id: web.example.com
What is the purpose of the terraform.lock.hcl file in Terraform?
Changing the Terraform backend from the default " local " backend to a different one after performing your first terrafom apply is:
In Terraform HCL, an object type of object({name=string, age-number}) would match this value.

Which command doesnotcause Terraform to refresh its state?
terraform init retrieves and caches the configuration for all remote modules.