Before you can use a new backend or HCP Terraform/Terraform Cloud integration, you must first execute terraform init.
It is best practice to store secret data in the same version control repository as your Terraform configuration.
When using a remote backend or terraform Cloud integration, where does Terraform save resource sate?
You have a list of numbers that represents the number of free CPU cores on each virtual cluster:
numcpus = [ 18, 3, 7, 11, 2 ]
What Terraform function could you use to select the largest number from the list?
Your team adopts AWS CloudFormation as the standardized method for provisioning public cloud resources.
Which scenario presents a challenge for your team?
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.)
Module variable assignments are inherited from the parent module and you do not need to explicitly set them.