From 62cf1201b031399e7251abeee859e895ee825a48 Mon Sep 17 00:00:00 2001 From: So4resAlex <53014800+So4resAlex@users.noreply.github.com> Date: Thu, 3 Oct 2024 09:34:30 -0300 Subject: [PATCH] feat(terraform): add `destroy -auto-approve` alias (#12704) --- plugins/terraform/README.md | 1 + plugins/terraform/terraform.plugin.zsh | 1 + 2 files changed, 2 insertions(+) diff --git a/plugins/terraform/README.md b/plugins/terraform/README.md index 3f8ed6dee..feaf21d40 100644 --- a/plugins/terraform/README.md +++ b/plugins/terraform/README.md @@ -22,6 +22,7 @@ plugins=(... terraform) | `tfaa` | `terraform apply -auto-approve` | | `tfc` | `terraform console` | | `tfd` | `terraform destroy` | +| `tfd!` | `terraform destroy -auto-approve`| | `tff` | `terraform fmt` | | `tffr` | `terraform fmt -recursive` | | `tfi` | `terraform init` | diff --git a/plugins/terraform/terraform.plugin.zsh b/plugins/terraform/terraform.plugin.zsh index bedd46011..1c1d1b37e 100644 --- a/plugins/terraform/terraform.plugin.zsh +++ b/plugins/terraform/terraform.plugin.zsh @@ -20,6 +20,7 @@ alias tfa='terraform apply' alias tfaa='terraform apply -auto-approve' alias tfc='terraform console' alias tfd='terraform destroy' +alias 'tfd!'='terraform destroy -auto-approve' alias tff='terraform fmt' alias tffr='terraform fmt -recursive' alias tfi='terraform init'