Remove lint job step to initialize Terraform directories

Initialization will now be done during the "terraform validate" step.
pull/113/head
David Redmin 3 years ago
parent 6a7fbf07bd
commit 895a692ad8
No known key found for this signature in database
GPG Key ID: E114D698CCCFB434
  1. 7
      .github/workflows/build.yml

@ -84,13 +84,6 @@ jobs:
run: |
go install \
github.com/terraform-docs/terraform-docs@${TERRAFORM_DOCS_VERSION}
- name: Find and initialize Terraform directories
run: |
for path in $(find . -not \( -type d -name ".terraform" -prune \) \
-type f -iname "*.tf" -exec dirname "{}" \; | sort -u); do \
echo "Initializing '$path'..."; \
terraform init -input=false -backend=false "$path"; \
done
- name: Install dependencies
run: |
python -m pip install --upgrade pip

Loading…
Cancel
Save