TERRAFORM-ASSOCIATE-003 · Question #1
What does Terraform not reference when running a terraform apply -refresh-only ?
The correct answer is D. Terraform resource definitions in configuration files. When running a terraform apply -refresh-only, Terraform does not reference the configuration files, but only the state file, credentials, and cloud provider. The purpose of this command is to update the state file with the current status of the real resources, without making…
Question
What does Terraform not reference when running a terraform apply -refresh-only ?
Options
- AState file
- BCredentials
- CCloud provider
- DTerraform resource definitions in configuration files
How the community answered
(42 responses)- A2% (1)
- B14% (6)
- C7% (3)
- D76% (32)
Explanation
When running a terraform apply -refresh-only, Terraform does not reference the configuration files, but only the state file, credentials, and cloud provider. The purpose of this command is to update the state file with the current status of the real resources, without making any changes to
Topics
Community Discussion
No community discussion yet for this question.