snippetbashTip
tofu — Create and deploy infrastructure as code to cloud providers. Open-source fork of Terraform. More inf
Viewed 0 times
createcommandinfrastructureandtofuclicodedeploy
Problem
How to use the
tofu command: Create and deploy infrastructure as code to cloud providers. Open-source fork of Terraform. More information: <https://opentofu.org/docs/cli/commands/>.Solution
tofu — Create and deploy infrastructure as code to cloud providers. Open-source fork of Terraform. More information: <https://opentofu.org/docs/cli/commands/>.Initialize a new or existing OpenTofu configuration:
tofu initVerify that the configuration files are syntactically valid:
tofu validateFormat configuration according to OpenTofu language style conventions:
tofu fmtGenerate and show an execution plan:
tofu planBuild or change infrastructure:
tofu applyDestroy Tofu-managed infrastructure:
tofu destroyCode Snippets
Initialize a new or existing OpenTofu configuration
tofu initVerify that the configuration files are syntactically valid
tofu validateFormat configuration according to OpenTofu language style conventions
tofu fmtGenerate and show an execution plan
tofu planBuild or change infrastructure
tofu applyContext
tldr-pages: common/tofu
Revisions (0)
No revisions yet.