Inrefresh-only mode(terraform apply -refresh-only), Terraformupdates the state fileto match the actual infrastructurewithout modifying resources.
A (Terraform configuration)–Not modifiedin refresh-only mode.
B (Terraform plan)–Plan is generated but not modified.
D (Cloud infrastructure)–Not modifiedin refresh-only mode.
Official Terraform Documentation Reference:
Refresh-Only Mode
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit