Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 2 months ago
JSON representation

ZSH plugin to easier work with terraform

Awesome Lists containing this project

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