diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 4c7fa48..5f308f6 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -27,14 +27,18 @@ jobs: cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }} - name: Terraform Init + working-directory: ./terraform run: terraform init - name: Terraform Format + working-directory: ./terraform run: terraform fmt -check - name: Terraform Plan + working-directory: ./terraform run: terraform plan -input=false - name: Terraform Apply if: github.ref == 'refs/heads/"main"' && github.event_name == 'push' + working-directory: ./terraform run: terraform apply -auto-approve -input=false