1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/terraform.md
Managor 8e09a08059
common*: refresh old pages part 3 (#16257)
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
2025-04-25 21:19:03 +03:00

585 B

terraform

Create and deploy infrastructure as code to cloud providers. More information: https://developer.hashicorp.com/terraform/cli/commands.

  • Initialize a new or existing Terraform configuration:

terraform init

  • Verify that the configuration files are syntactically valid:

terraform validate

  • Format configuration according to Terraform language style conventions:

terraform fmt

  • Generate and show an execution plan:

terraform plan

  • Build or change infrastructure:

terraform apply

  • Destroy Terraform-managed infrastructure:

terraform destroy