|
|
|
@ -16,7 +16,7 @@ plugins=(... terraform) |
|
|
|
## Aliases |
|
|
|
## Aliases |
|
|
|
|
|
|
|
|
|
|
|
| Alias | Command | |
|
|
|
| Alias | Command | |
|
|
|
|---------|----------------------------------| |
|
|
|
| ------- | -------------------------------------- | |
|
|
|
| `tf` | `terraform` | |
|
|
|
| `tf` | `terraform` | |
|
|
|
| `tfa` | `terraform apply` | |
|
|
|
| `tfa` | `terraform apply` | |
|
|
|
| `tfaa` | `terraform apply -auto-approve` | |
|
|
|
| `tfaa` | `terraform apply -auto-approve` | |
|
|
|
@ -26,7 +26,9 @@ plugins=(... terraform) |
|
|
|
| `tff` | `terraform fmt` | |
|
|
|
| `tff` | `terraform fmt` | |
|
|
|
| `tffr` | `terraform fmt -recursive` | |
|
|
|
| `tffr` | `terraform fmt -recursive` | |
|
|
|
| `tfi` | `terraform init` | |
|
|
|
| `tfi` | `terraform init` | |
|
|
|
|
|
|
|
| `tfir` | `terraform init -reconfigure` | |
|
|
|
| `tfiu` | `terraform init -upgrade` | |
|
|
|
| `tfiu` | `terraform init -upgrade` | |
|
|
|
|
|
|
|
| `tfiur` | `terraform init -upgrade -reconfigure` | |
|
|
|
| `tfo` | `terraform output` | |
|
|
|
| `tfo` | `terraform output` | |
|
|
|
| `tfp` | `terraform plan` | |
|
|
|
| `tfp` | `terraform plan` | |
|
|
|
| `tfv` | `terraform validate` | |
|
|
|
| `tfv` | `terraform validate` | |
|
|
|
@ -34,7 +36,6 @@ plugins=(... terraform) |
|
|
|
| `tft` | `terraform test` | |
|
|
|
| `tft` | `terraform test` | |
|
|
|
| `tfsh` | `terraform show` | |
|
|
|
| `tfsh` | `terraform show` | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Prompt function |
|
|
|
## Prompt function |
|
|
|
|
|
|
|
|
|
|
|
You can add the current Terraform workspace in your prompt by adding `$(tf_prompt_info)`, |
|
|
|
You can add the current Terraform workspace in your prompt by adding `$(tf_prompt_info)`, |
|
|
|
|