Skip to content

Commit

Permalink
Hardcode TF Version
Browse files Browse the repository at this point in the history
Avoid failing deployments because new TF versions
  • Loading branch information
WhiteTomX authored Nov 24, 2023
1 parent 18224a7 commit 557a81c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/init/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ runs:
echo 'storage_account_name="stzgmtficebreaker01"' >> ${{ inputs.tf_backend_file_name }}
echo 'container_name="tfstate${{ inputs.stage }}"' >> ${{ inputs.tf_backend_file_name }}
echo 'key="${{ inputs.stage }}.tfstate"' >> ${{ inputs.tf_backend_file_name }}
echo 'use_microsoft_graph=true' >> ${{ inputs.tf_backend_file_name }}
echo 'use_azuread_auth=true' >> ${{ inputs.tf_backend_file_name }}
echo '}' >> backend.tf
echo '}' >> backend.tf
Expand All @@ -58,6 +57,8 @@ runs:
run: |
echo "TF_DIR=${{ inputs.tf_dir }}" >> $GITHUB_ENV
echo "GITHUB_TOKEN=${{ inputs.github_token }}" >> $GITHUB_ENV
echo "TERRAFORM_VERSION=1.6.4" >> $GITHUB_ENV
echo "ARM_TENANT_ID=${{ inputs.arm_tenant_id }}" >> $GITHUB_ENV
echo "ARM_SUBSCRIPTION_ID=${{ inputs.arm_subscription_id }}" >> $GITHUB_ENV
echo "ARM_CLIENT_ID=${{ inputs.arm_client_id }}" >> $GITHUB_ENV
Expand Down

0 comments on commit 557a81c

Please sign in to comment.