Skip to content

ECS Cluster (#9)

ECS Cluster (#9) #91

Workflow file for this run

# GitHub Action for formatting Terraform code.
# Author: Andrew Jarombek
# Date: 2/19/2023
name: Terraform Formatting
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
schedule:
- cron: "0 5 * * 5"
workflow_dispatch:
jobs:
format:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- run: echo "Job running on a ${{ runner.os }} server"
- name: Check Out Repository Code
uses: actions/checkout@v3
- run: echo "Checked out branch '${{ github.ref }}' of the ${{ github.repository }} repository"
- name: Install Terraform
uses: hashicorp/setup-terraform@v2
with:
terraform_version: 1.3.7
- name: Terraform Format
run: terraform fmt -check -recursive