1
0
Fork 0
mirror of https://github.com/cisagov/log4j-affected-db.git synced 2024-11-22 16:40:48 +00:00

Install a specific version of terraform-docs

Note that this change is dependent on the merging of
cisagov/setup-env-github-action#31.

Co-authored-by: Nick M. <50747025+mcdonnnj@users.noreply.github.com>
This commit is contained in:
Jeremy Frasier 2021-07-10 22:36:45 -04:00
parent b629f7f623
commit 181d1b2faf
No known key found for this signature in database
GPG key ID: 285B4A02F4305C09

View file

@ -85,7 +85,9 @@ jobs:
sudo mv /usr/local/bin/terraform /usr/local/bin/terraform-default sudo mv /usr/local/bin/terraform /usr/local/bin/terraform-default
sudo ln -s /opt/terraform/terraform /usr/local/bin/terraform sudo ln -s /opt/terraform/terraform /usr/local/bin/terraform
- name: Install Terraform-docs - name: Install Terraform-docs
run: GO111MODULE=on go get github.com/terraform-docs/terraform-docs run: |
GO111MODULE=on go get \
github.com/terraform-docs/terraform-docs@${TERRAFORM_DOCS_VERSION}
- name: Find and initialize Terraform directories - name: Find and initialize Terraform directories
run: | run: |
for path in $(find . -not \( -type d -name ".terraform" -prune \) \ for path in $(find . -not \( -type d -name ".terraform" -prune \) \