1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-13 08:55:24 +02:00
tldr/pages/common/tofu.md

29 lines
541 B
Markdown
Raw Normal View History

# tofu
> Create and deploy infrastructure as code to cloud providers. Open-source fork of Terraform.
> More information: <https://opentofu.org/>.
- Initialize a new or existing OpenTofu configuration:
`tofu init`
- Verify that the configuration files are syntactically valid:
`tofu validate`
- Format configuration according to OpenTofu language style conventions:
`tofu fmt`
- Generate and show an execution plan:
`tofu plan`
- Build or change infrastructure:
`tofu apply`
- Destroy Tofu-managed infrastructure:
`tofu destroy`