tldr/pages/common/terraform.md

29 lines
556 B
Markdown
Raw Normal View History

2018-09-18 18:16:08 +01:00
# terraform
> Create and deploy infrastructure as code to cloud providers.
> More information: <https://www.terraform.io/>.
2018-09-18 18:16:08 +01:00
- Initialize a new or existing Terraform configuration:
`terraform init`
- Verify that the configuration files are syntactically valid:
`terraform validate`
2020-03-27 14:28:23 +00:00
- Format configuration according to Terraform language style conventions:
`terraform fmt`
2018-09-18 18:16:08 +01:00
- Generate and show an execution plan:
`terraform plan`
- Build or change infrastructure:
`terraform apply`
- Destroy Terraform-managed infrastructure:
`terraform destroy`