This reverts commit af447e34e6.
This commit is contained in:
committed by
GitHub
parent
3ed5d296a9
commit
b39abd2389
27
.github/workflows/tests.yml
vendored
27
.github/workflows/tests.yml
vendored
@@ -54,11 +54,13 @@ jobs:
|
||||
terraform_version: ${{ env.TF_VERSION }}
|
||||
terraform_wrapper: false
|
||||
|
||||
- name: Config Terraform plugin cache and initialize providers
|
||||
- name: Config Terraform plugin cache
|
||||
run: |
|
||||
echo 'plugin_cache_dir="$HOME/.terraform.d/plugin-cache"' >~/.terraformrc
|
||||
mkdir --parents ~/.terraform.d/plugin-cache
|
||||
sed -i -e '/# CI hook/e cat tests/test-versions.tf' default-versions.tf
|
||||
|
||||
- name: Initialize providers
|
||||
run: |
|
||||
terraform init
|
||||
|
||||
# avoid conflicts with user-installed providers on local machines
|
||||
@@ -105,13 +107,6 @@ jobs:
|
||||
run: |
|
||||
terraform init
|
||||
|
||||
- name: Config Terraform plugin cache and initialize providers
|
||||
run: |
|
||||
echo 'plugin_cache_dir="$HOME/.terraform.d/plugin-cache"' >~/.terraformrc
|
||||
mkdir --parents ~/.terraform.d/plugin-cache
|
||||
sed -i -e '/# CI hook/e cat tests/test-versions.tf' default-versions.tf
|
||||
terraform init
|
||||
|
||||
# avoid conflicts with user-installed providers on local machines
|
||||
- name: Pin provider versions
|
||||
run: |
|
||||
@@ -156,13 +151,6 @@ jobs:
|
||||
run: |
|
||||
terraform init
|
||||
|
||||
- name: Config Terraform plugin cache and initialize providers
|
||||
run: |
|
||||
echo 'plugin_cache_dir="$HOME/.terraform.d/plugin-cache"' >~/.terraformrc
|
||||
mkdir --parents ~/.terraform.d/plugin-cache
|
||||
sed -i -e '/# CI hook/e cat tests/test-versions.tf' default-versions.tf
|
||||
terraform init
|
||||
|
||||
# avoid conflicts with user-installed providers on local machines
|
||||
- name: Pin provider versions
|
||||
run: |
|
||||
@@ -207,13 +195,6 @@ jobs:
|
||||
run: |
|
||||
terraform init
|
||||
|
||||
- name: Config Terraform plugin cache and initialize providers
|
||||
run: |
|
||||
echo 'plugin_cache_dir="$HOME/.terraform.d/plugin-cache"' >~/.terraformrc
|
||||
mkdir --parents ~/.terraform.d/plugin-cache
|
||||
sed -i -e '/# CI hook/e cat tests/test-versions.tf' default-versions.tf
|
||||
terraform init
|
||||
|
||||
# avoid conflicts with user-installed providers on local machines
|
||||
- name: Pin provider versions
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user