diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 513c705..a550bc0 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -11,15 +11,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v2 # More stable version - name: Setup Terraform - uses: hashicorp/setup-terraform@v1 - with: - terraform_version: 1.0.0 - - - name: Echo AWS Access Key (Debug Step) - run: echo ${{ secrets.AWS_ACCESS_KEY_ID }} + uses: hashicorp/setup-terraform@v3 - name: Verify AWS Secrets Presence (Debug Step) run: | @@ -56,7 +51,7 @@ jobs: working-directory: terraform - name: Wait for 4 minutes - run: sleep 240 # 300 seconds equals 5 minutes + run: sleep 240 # 240 seconds equals 4 minutes - name: Destroy Terraform run: terraform destroy -auto-approve