Skip to content

install the aws-load-balancer-controller and expose the services as i… #14

install the aws-load-balancer-controller and expose the services as i…

install the aws-load-balancer-controller and expose the services as i… #14

Workflow file for this run

name: Lint
on: [push]
jobs:
fmt:
name: fmt check
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: terramate-io/terramate-action@v1
with:
# renovate: datasource=github-releases depName=terramate-io/terramate
version: "0.5.3"
- name: terramate fmt check
run: terramate fmt --detailed-exit-code
- name: terraform fmt check
run: terramate run terraform fmt -check -diff
validate:
name: validate
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: terramate-io/terramate-action@v1
with:
# renovate: datasource=github-releases depName=terramate-io/terramate
version: "0.5.3"
- name: Init
run: terramate run terraform init -lockfile=readonly
- name: Validate
run: terramate run terraform validate
lint:
name: Lint
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: terramate-io/terramate-action@v1
with:
# renovate: datasource=github-releases depName=terramate-io/terramate
version: "0.5.3"
- uses: terraform-linters/setup-tflint@v4
name: Setup
with:
# renovate: datasource=github-releases depName=terraform-linters/tflint
tflint_version: v0.50.3
- name: Init
run: terramate run tflint --init
env:
# https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/plugins.md#avoiding-rate-limiting
GITHUB_TOKEN: ${{ github.token }}
- name: Lint
run: terramate run tflint --format compact