Add base VPC config for dev and prod environments #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Terraform commands | |
on: | |
push: | |
paths: | |
- "**.tf" | |
jobs: | |
checkout: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: main | |
terraform-fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Run terraform fmt | |
uses: dflook/terraform-fmt@v1 | |
with: | |
path: . | |
terraform-validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Run terraform validate | |
uses: dflook/terraform-validate@v1 | |
with: | |
path: . |