Skip to content

Commit 47c79ca

Browse files
committed
Correct the if condition
1 parent 7609e2d commit 47c79ca

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/run-e2e-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,30 +118,30 @@ jobs:
118118
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
119119

120120
- name: Connect to AWS
121-
if: ${{ env.TF_OUTPUTS_REQUIRED }}
121+
if: ${{ env.TF_OUTPUTS_REQUIRED == 'true' }}
122122
uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8
123123
with:
124124
aws-region: eu-west-2
125125
role-to-assume: arn:aws:iam::${{ vars.AWS_ACCOUNT_ID }}:role/auto-ops
126126
role-session-name: github-actions
127127

128128
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
129-
if: ${{ env.TF_OUTPUTS_REQUIRED }}
129+
if: ${{ env.TF_OUTPUTS_REQUIRED == 'true' }}
130130
with:
131131
terraform_version: "1.12.2"
132132

133133
- name: Terraform Init
134-
if: ${{ env.TF_OUTPUTS_REQUIRED }}
134+
if: ${{ env.TF_OUTPUTS_REQUIRED == 'true' }}
135135
working-directory: terraform
136136
run: make init
137137

138138
- name: Set Terraform workspace
139-
if: ${{ env.TF_OUTPUTS_REQUIRED }}
139+
if: ${{ env.TF_OUTPUTS_REQUIRED == 'true' }}
140140
working-directory: terraform
141141
run: make workspace
142142

143143
- name: Read Terraform outputs
144-
if: ${{ env.TF_OUTPUTS_REQUIRED }}
144+
if: ${{ env.TF_OUTPUTS_REQUIRED == 'true' }}
145145
working-directory: terraform
146146
run: |
147147
echo "IMMS_DELTA_TABLE_NAME=$(make -s output name=imms_delta_table_name)" >> $GITHUB_ENV

0 commit comments

Comments
 (0)