|
|
@ -84,13 +84,6 @@ jobs: |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
go install \ |
|
|
|
go install \ |
|
|
|
github.com/terraform-docs/terraform-docs@${TERRAFORM_DOCS_VERSION} |
|
|
|
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 |
|
|
|
- name: Install dependencies |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
python -m pip install --upgrade pip |
|
|
|
python -m pip install --upgrade pip |
|
|
|