new subnets #44
Workflow file for this run
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: "Terraform Push Actions" | |
on: | |
push: | |
branches: | |
- '*' | |
- '!main' | |
env: | |
AWS_ACCESS_KEY_ID: "${{ secrets.AWS_ACCESS_KEY_ID }}" | |
AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}" | |
APSTRA_PASS: "${{ secrets.APSTRA_PASS }}" | |
NOT_SENSITIVE: "${{ secrets.NOT_SENSITIVE }}" | |
jobs: | |
terraform: | |
name: "Terraform Validate" | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Terraform | |
uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1 # v2.0.3 | |
with: | |
terraform_version: 1.5.5 | |
- name: Terraform Init | |
run: terraform init | |
- name: Terraform Validate | |
run: terraform validate |