Compare state with remote objects and update state without proposing config changes.
Section: Plan and Apply
Refresh-only plan
bash
bash
terraform plan -refresh-onlyExplanation
Compare state with remote objects and update state without proposing config changes.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Plan and Apply