Skip to content

feat: Add the Terraform module #2

feat: Add the Terraform module

feat: Add the Terraform module #2

Workflow file for this run

name: Check the Terraform Module
on:
pull_request:
paths:
- '**.tf'
jobs:
build:
name: Terraform Checks and Plans
runs-on: ubuntu-latest
steps:
- name: Checkout the repository to the runner
uses: actions/checkout@v3
- name: HashiCorp - Setup Terraform
uses: hashicorp/setup-terraform@v3
- name: Terraform Format
id: fmt
run: terraform fmt -recursive -check
continue-on-error: true
- name: Terraform Init
id: init
run: terraform init
- name: Terraform Validate
id: validate
run: terraform validate -no-color