1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:42:07 +02:00
tldr/pages/common/terraform.md
Nelson Figueroa f0e63b7404
terraform: add validate (#3946)
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2020-03-29 12:46:08 +02:00

556 B

terraform

Create and deploy infrastructure as code to cloud providers. More information: https://www.terraform.io/.

  • 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