Phase1-2
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user