mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-18 14:01:09 +00:00
Update cheatsheets
This commit is contained in:
33
terraform
Normal file
33
terraform
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user