Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 525 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 525 Bytes

terraform-workspace-prompt

A prompt that displays the current Terraform workspace.

You can read more about Terraform workspaces here.

Installation

  • Download the script.
wget -O ~/.terraform-workspace-prompt.sh https://raw.githubusercontent.com/amatellanes/terraform-workspace-prompt/master/terraform-workspace-prompt.sh
  • Add to the ~/.bashrc.
source $HOME/.terraform-workspace-prompt.sh
  • Load ~/.bashrc.
source ~/.bashrc