Skip to content

Commit

Permalink
terraform init on terraform destroy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dricross committed Jan 28, 2025
1 parent e890661 commit cf57525
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ec2-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,7 @@ jobs:
max_attempts: 2
timeout_minutes: 8
retry_wait_seconds: 5
command: cd ${{ inputs.test_dir }} && terraform destroy -var="region=${{ inputs.region }}" -var="ami=${{ matrix.arrays.ami }}" --auto-approve
command: |
terraform init
cd ${{ inputs.test_dir }}
terraform destroy -var="region=${{ inputs.region }}" -var="ami=${{ matrix.arrays.ami }}" --auto-approve

0 comments on commit cf57525

Please sign in to comment.