terraform plan -refresh-only

Category: IaC & Automation

terraform plan -refresh-only

Plan a state refresh without proposing changes

Creates a plan that only syncs the state file with the real cloud, showing what would be recorded without applying anything. Review the proposed updates, then apply the plan to commit them. The safer successor to a blind terraform refresh. Related: terraform refresh.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.