Skip to content

Commit

Permalink
Adds terraform install command to the orb
Browse files Browse the repository at this point in the history
  • Loading branch information
duksis committed Jan 23, 2020
1 parent 2055ac6 commit b08cdc2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions orb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,19 @@ commands:
description: "Environment variable to retrieve the credentials from"
type: env_var_name
default: GOOGLE_CREDENTIALS
install:
description: "Installs terraform cli"
steps:
- run: |
wget "https://releases.hashicorp.com/terraform/<<parameters.version>>/terraform_<<parameters.version>>_linux_amd64.zip" && \
unzip terraform_*_linux_amd64.zip && \
mv terraform /usr/local/bin/
rm terraform_*_linux_amd64.zip
parameters:
version:
description: "Version of terraform cli to be installed"
type: string
default: "0.12.19"
multi-project-terraform:
description: "Applies terraform command to multiple projects"
steps:
Expand Down

0 comments on commit b08cdc2

Please sign in to comment.