Skip to content

Commit

Permalink
Update Terraform Init step in GitHub Actions workflow: rename step an…
Browse files Browse the repository at this point in the history
…d add upgrade flag to init command
  • Loading branch information
martinyy108 committed Nov 23, 2024
1 parent 3175b58 commit ec44ab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
terraform_version: 1.0.10

- name: Terraform Init
- name: Terraform Init
id: init
env:
ARM_CLIENT_ID: ${{ secrets.ARM_CLIENT_ID }}
Expand All @@ -34,7 +34,7 @@ jobs:
RESOURCE_GROUP: ${{ secrets.RESOURCE_GROUP }}
STORAGE_ACCOUNT: ${{ secrets.STORAGE_ACCOUNT }}
CONTAINER_NAME: ${{ secrets.CONTAINER_NAME }}
run: terraform init -backend-config="storage_account_name=$STORAGE_ACCOUNT" -backend-config="container_name=$CONTAINER_NAME" -backend-config="resource_group_name=$RESOURCE_GROUP"
run: terraform init -upgrade -backend-config="storage_account_name=$STORAGE_ACCOUNT" -backend-config="container_name=$CONTAINER_NAME" -backend-config="resource_group_name=$RESOURCE_GROUP"

- name: Terraform Plan
id: plan
Expand Down

0 comments on commit ec44ab3

Please sign in to comment.