feat(terraform): add fmt -recursive alias (#12637)

This commit is contained in:
michael-follmann 2024-09-05 19:52:39 +02:00 committed by GitHub
parent 2acfe1aa0e
commit e6380085f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 35 additions and 31 deletions

View File

@ -16,12 +16,13 @@ plugins=(... opentofu)
## Aliases ## Aliases
| Alias | Command | | Alias | Command |
| ----- | --------------- | |--------|-----------------------|
| `tt` | `tofu` | | `tt` | `tofu` |
| `tta` | `tofu apply` | | `tta` | `tofu apply` |
| `ttc` | `tofu console` | | `ttc` | `tofu console` |
| `ttd` | `tofu destroy` | | `ttd` | `tofu destroy` |
| `ttf` | `tofu fmt` | | `ttf` | `tofu fmt` |
| `ttfr` | `tofu fmt -recursive` |
| `tti` | `tofu init` | | `tti` | `tofu init` |
| `tto` | `tofu output` | | `tto` | `tofu output` |
| `ttp` | `tofu plan` | | `ttp` | `tofu plan` |

View File

@ -32,6 +32,7 @@ alias tta='tofu apply'
alias ttc='tofu console' alias ttc='tofu console'
alias ttd='tofu destroy' alias ttd='tofu destroy'
alias ttf='tofu fmt' alias ttf='tofu fmt'
alias ttfr='tofu fmt -recursive'
alias tti='tofu init' alias tti='tofu init'
alias tto='tofu output' alias tto='tofu output'
alias ttp='tofu plan' alias ttp='tofu plan'

View File

@ -16,12 +16,13 @@ plugins=(... terraform)
## Aliases ## Aliases
| Alias | Command | | Alias | Command |
| ------ | ------------------------- | |--------|----------------------------|
| `tf` | `terraform` | | `tf` | `terraform` |
| `tfa` | `terraform apply` | | `tfa` | `terraform apply` |
| `tfc` | `terraform console` | | `tfc` | `terraform console` |
| `tfd` | `terraform destroy` | | `tfd` | `terraform destroy` |
| `tff` | `terraform fmt` | | `tff` | `terraform fmt` |
| `tffr` | `terraform fmt -recursive` |
| `tfi` | `terraform init` | | `tfi` | `terraform init` |
| `tfiu` | `terraform init -upgrade` | | `tfiu` | `terraform init -upgrade` |
| `tfo` | `terraform output` | | `tfo` | `terraform output` |

View File

@ -20,6 +20,7 @@ alias tfa='terraform apply'
alias tfc='terraform console' alias tfc='terraform console'
alias tfd='terraform destroy' alias tfd='terraform destroy'
alias tff='terraform fmt' alias tff='terraform fmt'
alias tffr='terraform fmt -recursive'
alias tfi='terraform init' alias tfi='terraform init'
alias tfiu='terraform init -upgrade' alias tfiu='terraform init -upgrade'
alias tfo='terraform output' alias tfo='terraform output'