added hashed workflow

This commit is contained in:
comerford0
2025-10-02 08:00:22 +00:00
parent b2b2ad94b7
commit dfcbe54ebe
+31
View File
@@ -0,0 +1,31 @@
# name: Terraform
# on:
# pull_request:
# branches: [ "main" ]
# push:
# branches: [ "main" ]
# jobs:
# terraform:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v3
# - name: Setup Terraform
# uses: hashicorp/setup-terraform@v2
# - name: Terraform Init
# run: terraform -chdir=environments/dev init
# - name: Terraform Validate
# run: terraform -chdir=environments/dev validate
# - name: Terraform Plan
# run: terraform -chdir=environments/dev plan
# - name: Terraform Apply
# if: github.event_name == 'push' && github.ref == 'refs/heads/main'
# run: terraform -chdir=environments/dev apply -auto-approve