Skip to content

checkpoint

checkpoint #42

name: Terraform Validate
on:
push:
jobs:
terraform:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.1.7
- name: Terraform Format Check
run: terraform fmt -check -recursive
working-directory: ./infra
- name: Terraform Init
run: terraform init
working-directory: ./infra
- name: Terraform Validate
run: terraform validate
working-directory: ./infra