You modified your Terraform configuration and run Terraform plan to review the changes. Simultaneously, your teammate manually modified the infrastructure component you are working on. Since you already ran terraform plan locally, the execution plan for terraform apply will be the same.
The_________determines how Terraform creates, updates, or delete resources.
Terraform can only manage resource dependencies if you set them explicitly with the depends_on argument.
Changing the Terraform backend from the default "local" backend to a different one after performing your first terrafom apply is:
Your risk management organization requires that new AWS S3 buckets must be private and encrypted at rest. How can Terraform Cloud automatically and proactively enforce this security control?
In a HCP Terraform/Terraform Cloud workspace linked to a version control repository, speculative plan runs start automatically when you merge or commit changes to version control.
What Terraform command always causes a state file to be updated with changes that might have been made outside of Terraform?
Which of these are features of HCP Terraform/Terraform Cloud? (Pick the 2 correct responses)
You can develop a custom provider to manage its resources using Terraform.
You have deployed a new webapp with a public IP address on a cloud provider. However, you did not create any outputs for your code. What is the best method to quickly find the IP address of the resource you deployed?
A provider configuration block is required in every Terraform configuration.
Example:
The Terraform binary version and provider versions must match each other in a single configuration.
When you use a remote backend that needs authentication, HashiCorp recommends that you:
terraform validate reports syntax check errors for which of the following?
You want to know from which paths Terraform is loading providers referenced in your Terraform configuration (* files). You need to enable additional logging messages to find this out. Which of the following would achieve this?
Which two steps are required to provision new infrastructure in the Terraform workflow? Choose two correct answers.
It is best practice to store secret data in the same version control repository as your Terraform configuration.
When using Terraform to deploy resources into Azure, which scenarios are true regarding state files? (Choose two.)
You have a Terraform configuration that defines a single virtual machine with no references to it, You have run terraform apply to create the resource, and then removed the resource definition from your Terraform configuration file.
What will happen you run terraform apply in the working directory again?
Outside of the required_providers block, Terraform configurations always refer to providers by their local names.
Module version is required to reference a module on the Terraform Module Registry.
Which of these ate features of Terraform Cloud? Choose two correct answers.
Your security team scanned some Terraform workspaces and found secrets stored in plaintext in state files. How can you protect that data?
You must use different Terraform commands depending on the cloud provider you use.
You can configure Terraform to log to a file using the TF_LOG environment variable.
In a Terraform Cloud workpace linked to a version control repository speculative plan rum start automatically commit changes to version control.
How do you specify a module’s version when publishing it to the public terraform Module Registry?
How can a ticket-based system slow down infrastructure provisioning and limit the ability to scale? Choose two correct answers.
terraform validate confirms that your infrastructure matches the Terraform state file.
One remote backend configuration always maps to a single remote workspace.
You have declared a variable called var.list which is a list of objects that all have an attribute id . Which options will produce a list of the IDs? Choose two correct answers.
A Terraform output that sets the "sensitive" argument to true will not store that value in the state file.
Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into stdout.
If you manually destroy infrastructure, what is the best practice reflecting this change in Terraform?