What does Terraform not reference when running a terraform apply -refresh-only?

What does Terraform not reference when running a terraform apply -refresh-only?
A . State file
B . Credentials
C . Cloud provider
D . Terraform resource definitions in configuration files

Answer: D

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 them1.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments