tofu-plan
Generate and show OpenTofu execution plans. tldr-pages
On several platforms
Several platforms
Generate and show the execution plan in the currently directory
tofu planIdentifyShow a plan to destroy all remote objects that currently exist
tofu plan -destroyIdentifyShow a plan to update the Tofu state and output values
tofu plan -refresh-onlyIdentifySpecify values for input variables
tofu plan -var 'name1=value1' -var 'name2=value2'IdentifyFocus Tofu's attention on only a subset of resources
tofu plan -target resource_type.resource_nameIdentifyOutput a plan as JSON
tofu plan -jsonIdentifyWrite a plan to a specific file
tofu plan -no-color >path/to/fileIdentify