mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-07-14 16:09:01 +08:00
feat(terraform): add init -reconfigure
aliases` (#13129)
This commit is contained in:
parent
0354add542
commit
1ed17ac052
@ -16,17 +16,19 @@ plugins=(... terraform)
|
||||
## Aliases
|
||||
|
||||
| Alias | Command |
|
||||
|---------|----------------------------------|
|
||||
| ------- | -------------------------------------- |
|
||||
| `tf` | `terraform` |
|
||||
| `tfa` | `terraform apply` |
|
||||
| `tfaa` | `terraform apply -auto-approve` |
|
||||
| `tfc` | `terraform console` |
|
||||
| `tfd` | `terraform destroy` |
|
||||
| `tfd!` | `terraform destroy -auto-approve`|
|
||||
| `tfd!` | `terraform destroy -auto-approve` |
|
||||
| `tff` | `terraform fmt` |
|
||||
| `tffr` | `terraform fmt -recursive` |
|
||||
| `tfi` | `terraform init` |
|
||||
| `tfir` | `terraform init -reconfigure` |
|
||||
| `tfiu` | `terraform init -upgrade` |
|
||||
| `tfiur` | `terraform init -upgrade -reconfigure` |
|
||||
| `tfo` | `terraform output` |
|
||||
| `tfp` | `terraform plan` |
|
||||
| `tfv` | `terraform validate` |
|
||||
@ -34,7 +36,6 @@ plugins=(... terraform)
|
||||
| `tft` | `terraform test` |
|
||||
| `tfsh` | `terraform show` |
|
||||
|
||||
|
||||
## Prompt function
|
||||
|
||||
You can add the current Terraform workspace in your prompt by adding `$(tf_prompt_info)`,
|
||||
|
@ -24,7 +24,9 @@ alias 'tfd!'='terraform destroy -auto-approve'
|
||||
alias tff='terraform fmt'
|
||||
alias tffr='terraform fmt -recursive'
|
||||
alias tfi='terraform init'
|
||||
alias tfir='terraform init -reconfigure'
|
||||
alias tfiu='terraform init -upgrade'
|
||||
alias tfiur='terraform init -upgrade -reconfigure'
|
||||
alias tfo='terraform output'
|
||||
alias tfp='terraform plan'
|
||||
alias tfv='terraform validate'
|
||||
|
Loading…
x
Reference in New Issue
Block a user