https://github.com/jsporna/terraform-zsh-plugin
ZSH plugin to easier work with terraform
https://github.com/jsporna/terraform-zsh-plugin
devops terraform zsh zsh-plugin
Last synced: about 1 month ago
JSON representation
ZSH plugin to easier work with terraform
- Host: GitHub
- URL: https://github.com/jsporna/terraform-zsh-plugin
- Owner: jsporna
- License: mit
- Created: 2020-10-23T11:22:51.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2020-10-25T21:00:23.000Z (about 5 years ago)
- Last Synced: 2024-11-30T05:07:47.276Z (12 months ago)
- Topics: devops, terraform, zsh, zsh-plugin
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zsh-plugins - terraform (jsporna) - Extends the original [oh-my-zsh](https://ohmyz.sh/) plugin with aliases and tab completions. Adds workspace (when not default) to prompt. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - terraform (jsporna) - Extends the original 🌎 [oh-my-zsh](ohmyz.sh/) plugin with aliases and tab completions. Adds workspace (when not default) to prompt. (Plugins / ZSH on Windows)
README
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
* [Terraform](https://www.terraform.io/downloads.html)
# Installation
* [Oh My Zsh](#oh-my-zsh)
## Oh My Zsh
1. Clone repository into `${ZSH_CUSTOM}/plugins` (by default `$ZSH_CUSTOM` points to `~/.oh-my-zsh/custom`)
```sh
git clone https://github.com/jsporna/terraform-zsh-plugin \
${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/terraform
```
2. Add te plugin to the list of plugins in `~/.zshrc` for Oh My Zsh to load:
```sh
plugins=(... terraform)
```
3. Start new terminal session.
# Usage
* Type `terraform` or `tf` into your prompt and hit `TAB` to see available completion options
* When you type at the `-target` option it show the list of resources