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?
Which method for sharing Terraform configurations fulfills the following criteria:
1. Keeps the configurations confidential within your organization
2. Support Terraform’s semantic version constrains
3. Provides a browsable directory
Which is a benefit of the Terraform state file?
When you initialize Terraform, where does it cache modules from the public Terraform Registry?
Which situation will return an error when you run terraform validate?
Your team is using version 3.1.4 of a module from the public Terraform Registry, and they are worried about possible breaking changes in future versions of the module. Which version argument should you add to the module block to prevent newer versions from being used?
Which command add existing resources into Terraform state?
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.
If you don’t use the local Terraform backend, where else can Terraform save resource state?
Which command(s) adds existing resources in a public cloud into Terraform state?