mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 13:21:19 +08:00 
			
		
		
		
	feat(terraform): add init -reconfigure aliases` (#13129)
				
					
				
			This commit is contained in:
		
							parent
							
								
									0354add542
								
							
						
					
					
						commit
						1ed17ac052
					
				@ -15,25 +15,26 @@ 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`|
 | 
			
		||||
| `tff`   | `terraform fmt`                  |
 | 
			
		||||
| `tffr`  | `terraform fmt -recursive`       |
 | 
			
		||||
| `tfi`   | `terraform init`                 |
 | 
			
		||||
| `tfiu`  | `terraform init -upgrade`        |
 | 
			
		||||
| `tfo`   | `terraform output`               |
 | 
			
		||||
| `tfp`   | `terraform plan`                 |
 | 
			
		||||
| `tfv`   | `terraform validate`             |
 | 
			
		||||
| `tfs`   | `terraform state`                |
 | 
			
		||||
| `tft`   | `terraform test`                 |
 | 
			
		||||
| `tfsh`  | `terraform show`                 |
 | 
			
		||||
 | 
			
		||||
| Alias   | Command                                |
 | 
			
		||||
| ------- | -------------------------------------- |
 | 
			
		||||
| `tf`    | `terraform`                            |
 | 
			
		||||
| `tfa`   | `terraform apply`                      |
 | 
			
		||||
| `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`                       |
 | 
			
		||||
| `tfir`  | `terraform init -reconfigure`          |
 | 
			
		||||
| `tfiu`  | `terraform init -upgrade`              |
 | 
			
		||||
| `tfiur` | `terraform init -upgrade -reconfigure` |
 | 
			
		||||
| `tfo`   | `terraform output`                     |
 | 
			
		||||
| `tfp`   | `terraform plan`                       |
 | 
			
		||||
| `tfv`   | `terraform validate`                   |
 | 
			
		||||
| `tfs`   | `terraform state`                      |
 | 
			
		||||
| `tft`   | `terraform test`                       |
 | 
			
		||||
| `tfsh`  | `terraform show`                       |
 | 
			
		||||
 | 
			
		||||
## Prompt function
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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