ci: pin terraform until planning bug is resolved (#19560)

Signed-off-by: Ryan Cragun <me@ryan.ec>
This commit is contained in:
Ryan Cragun 2023-03-15 11:54:18 -06:00 committed by GitHub
parent f73348e501
commit cebde2f880
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 0 deletions

View File

@ -19,6 +19,9 @@ jobs:
- uses: hashicorp/setup-terraform@v2
with:
terraform_wrapper: false
# Terraform 1.4.x introduced an issue that prevents some resources from
# planning. Pin to 1.3.x until it is resolved.
terraform_version: 1.3.9
- uses: hashicorp/action-setup-enos@v1
with:
github-token: ${{ secrets.ELEVATED_GITHUB_TOKEN }}

View File

@ -38,6 +38,9 @@ jobs:
# the Terraform wrapper will break Terraform execution in Enos because
# it changes the output to text when we expect it to be JSON.
terraform_wrapper: false
# Terraform 1.4.x introduced an issue that prevents some resources from
# planning. Pin to 1.3.x until it is resolved.
terraform_version: 1.3.9
- name: Set up Enos
uses: hashicorp/action-setup-enos@v1
with:

View File

@ -90,6 +90,9 @@ jobs:
with:
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
terraform_wrapper: false
# Terraform 1.4.x introduced an issue that prevents some resources from
# planning. Pin to 1.3.x until it is resolved.
terraform_version: 1.3.9
- name: Prepare scenario dependencies
run: |
mkdir -p ./enos/support/terraform-plugin-cache

View File

@ -111,6 +111,9 @@ jobs:
# the Terraform wrapper will break Terraform execution in Enos because
# it changes the output to text when we expect it to be JSON.
terraform_wrapper: false
# Terraform 1.4.x introduced an issue that prevents some resources from
# planning. Pin to 1.3.x until it is resolved.
terraform_version: 1.3.9
- uses: aws-actions/configure-aws-credentials@v1-node16
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_CI }}