feat(terraform): add destroy -auto-approve alias (#12704)

This commit is contained in:
So4resAlex 2024-10-03 09:34:30 -03:00 committed by GitHub
parent 0c8ce9d6ad
commit 62cf1201b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -22,6 +22,7 @@ plugins=(... terraform)
| `tfaa` | `terraform apply -auto-approve` | | `tfaa` | `terraform apply -auto-approve` |
| `tfc` | `terraform console` | | `tfc` | `terraform console` |
| `tfd` | `terraform destroy` | | `tfd` | `terraform destroy` |
| `tfd!` | `terraform destroy -auto-approve`|
| `tff` | `terraform fmt` | | `tff` | `terraform fmt` |
| `tffr` | `terraform fmt -recursive` | | `tffr` | `terraform fmt -recursive` |
| `tfi` | `terraform init` | | `tfi` | `terraform init` |

View file

@ -20,6 +20,7 @@ alias tfa='terraform apply'
alias tfaa='terraform apply -auto-approve' alias tfaa='terraform apply -auto-approve'
alias tfc='terraform console' alias tfc='terraform console'
alias tfd='terraform destroy' alias tfd='terraform destroy'
alias 'tfd!'='terraform destroy -auto-approve'
alias tff='terraform fmt' alias tff='terraform fmt'
alias tffr='terraform fmt -recursive' alias tffr='terraform fmt -recursive'
alias tfi='terraform init' alias tfi='terraform init'