CmdID

CmdID / Commands

tofu-plan

Generate and show OpenTofu execution plans. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Generate and show the execution plan in the currently directory

tofu planIdentify

Show a plan to destroy all remote objects that currently exist

tofu plan -destroyIdentify

Show a plan to update the Tofu state and output values

tofu plan -refresh-onlyIdentify

Specify values for input variables

tofu plan -var 'name1=value1' -var 'name2=value2'Identify

Focus Tofu's attention on only a subset of resources

tofu plan -target resource_type.resource_nameIdentify

Output a plan as JSON

tofu plan -jsonIdentify

Write a plan to a specific file

tofu plan -no-color >path/to/fileIdentify