aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlejandro Gandara <alex@alexgan.net>2021-07-15 02:44:37 +0300
committerAlejandro Gandara <alex@alexgan.net>2021-07-15 02:44:37 +0300
commit9f98915167b35bc045090c106b8249f6dadfaf01 (patch)
tree8d39fe243d9e7285a4022378424f5ca74c0e6176 /Makefile
parentf717a91f55f4d5dfb89d8828dc5b36fcc45548c2 (diff)
* Added new module for showing in prompt the active terraform version.
* Prompt shows, the terraform version in this format: Terraform v0.12.13 . If only if a valid terraform command is used, or an alias to it. The use case: We have a need to constantly change between terraform versions depending on what project we are working on, it is easy to by mistake upgrade the wrong project to the latest terraform version. This is why the prompt is shown in red as soon as you type terraform, this is a good way to remind you to double check this is the terraform version you want to use. Future improvements: Detect current terraform version by checking the terraform workspace state version, and change the terraform color prompt from red to green if you're using the same version.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions