Awesome
terraform-zsh-plugin
Plugin for Terraform, extending the original oh-my-zsh plugin with aliases and autocompletion.
Terraform is a tool from Hashicorp for managing infrastucture as code in secure and efficient way.
Requiremants
Installation
Oh My Zsh
- Clone repository into
${ZSH_CUSTOM}/plugins
(by default$ZSH_CUSTOM
points to~/.oh-my-zsh/custom
)
git clone https://github.com/jsporna/terraform-zsh-plugin \
${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/terraform
- Add te plugin to the list of plugins in
~/.zshrc
for Oh My Zsh to load:
plugins=(... terraform)
- Start new terminal session.
Usage
- Type
terraform
ortf
into your prompt and hitTAB
to see available completion options - When you type at the
-target
option it show the list of resources