The -refresh-only parameter will update your state file when used with terraform plan.
terraform apply will fail if you have not run terraform plan first to update the plan output.
When declaring a variable, setting the sensitive argument to true will prevent the value from being stored in the state file.
You add a new resource to an existing Terraform configuration, but do not update the version constraint in the configuration. The existing and new resources use the same provider. The working contains a .terraform.lock, hc1 file.
How will Terraform choose which version of the provider to use?
You’ve enabled DEBUG-level logging for Terraform, and you’d like to send the log data to a file. Which action should you take?
What type of information can be found on the Terraform Registry when using published modules?