mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
Small improvements to the TL;DR
This commit is contained in:
@@ -12,17 +12,21 @@ terraform validate
|
||||
|
||||
# Show what would be done.
|
||||
terraform plan
|
||||
terraform plan -state 'path/to/file.tfstate' -var-file 'path/to/var.tfvars'
|
||||
terraform plan -out 'path/to/file.tfstate' -parallelism '50'
|
||||
|
||||
# Make the changes.
|
||||
terraform apply
|
||||
terraform apply -auto-approve -backup -parallelism 25 'path/to/plan.tfstate'
|
||||
terraform apply -auto-approve -backup -parallelism '25' 'path/to/plan.tfstate'
|
||||
|
||||
# Destroy everything.
|
||||
# `destroy` is an alias of `apply -destroy` and is being deprecated.
|
||||
terraform destroy
|
||||
terraform apply -destroy
|
||||
|
||||
# Unlock a state file.
|
||||
terraform force-unlock 'lock_id'
|
||||
|
||||
# Format files.
|
||||
terraform fmt
|
||||
terraform fmt -check -diff -recursive
|
||||
|
||||
Reference in New Issue
Block a user