Skip to content

Commit

Permalink
Add -upgrade to the init
Browse files Browse the repository at this point in the history
  • Loading branch information
St0rmz1 committed Jul 16, 2024
1 parent fddfd43 commit 9f3300d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/terraform-apply.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ jobs:
${{ inputs.csp_region_env_name }}: ${{ inputs.region }}
run: |
cd ${{ inputs.envPath }}
terraform init
terraform init -upgrade
terraform apply -auto-approve "${{ inputs.planName }}"
2 changes: 1 addition & 1 deletion .github/workflows/terraform-plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
${{ inputs.csp_region_env_name }}: ${{ inputs.region }}
run: |
cd ${{ inputs.envPath }}
terraform init
terraform init -upgrade
terraform plan -out=${{ inputs.planName }}
- name: 'Upload Plan'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/terraform-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,5 @@ jobs:
${{ inputs.csp_region_env_name }}: ${{ inputs.region }}
run: |
cd ${{ inputs.envPath }}
terraform init
terraform init -upgrade
terraform validate

0 comments on commit 9f3300d

Please sign in to comment.