Skip to content

Commit 5a8b0a4

Browse files
author
rahul-infra
committed
made changes in github workflow.
1 parent d2b582e commit 5a8b0a4

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

.github/workflows/terraform-checks.yaml

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -84,24 +84,6 @@ jobs:
8484
uses: clowdhaus/[email protected]
8585
with:
8686
directory: ${{ matrix.directory }}
87-
88-
- name: Inject CI provider configs
89-
run: |
90-
echo "Injecting provider configs for CI..."
91-
for dir in examples/*/; do
92-
cat <<EOF > $dir/ci-providers.tf
93-
provider "aws" {
94-
region = "ap-south-1"
95-
}
96-
97-
provider "aws" {
98-
alias = "cross_account_provider"
99-
region = "ap-south-1"
100-
}
101-
EOF
102-
done
103-
104-
10587
- name: Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }}
10688
# Run only validate pre-commit check on min version supported
10789
if: ${{ matrix.directory != '.' }}
@@ -142,24 +124,6 @@ jobs:
142124
- name: Terraform min/max versions
143125
id: minMax
144126
uses: clowdhaus/[email protected]
145-
146-
- name: Inject CI provider configs
147-
run: |
148-
echo "Injecting provider configs for CI..."
149-
for dir in examples/*/; do
150-
cat <<EOF > $dir/ci-providers.tf
151-
provider "aws" {
152-
region = "ap-south-1"
153-
}
154-
155-
provider "aws" {
156-
alias = "cross_account_provider"
157-
region = "ap-south-1"
158-
}
159-
EOF
160-
done
161-
162-
163127
- name: Pre-commit Terraform ${{ steps.minMax.outputs.maxVersion }}
164128
uses: clowdhaus/terraform-composite-actions/[email protected]
165129
with:

0 commit comments

Comments
 (0)