Skip to content

configure the kubernetes-hello workload to use the eks pod identity a… #33

configure the kubernetes-hello workload to use the eks pod identity a…

configure the kubernetes-hello workload to use the eks pod identity a… #33

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: hashicorp/setup-terraform@v3
with:
# renovate: datasource=github-releases depName=hashicorp/terraform
terraform_version: "1.8.3"
- uses: terramate-io/terramate-action@v2
with:
# renovate: datasource=github-releases depName=terramate-io/terramate
version: "0.8.4"
- name: terramate generate check
run: terramate generate --detailed-exit-code
- 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: hashicorp/setup-terraform@v3
with:
# renovate: datasource=github-releases depName=hashicorp/terraform
terraform_version: "1.8.3"
- uses: terramate-io/terramate-action@v2
with:
# renovate: datasource=github-releases depName=terramate-io/terramate
version: "0.8.4"
- 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: hashicorp/setup-terraform@v3
with:
# renovate: datasource=github-releases depName=hashicorp/terraform
terraform_version: "1.8.3"
- uses: terramate-io/terramate-action@v2
with:
# renovate: datasource=github-releases depName=terramate-io/terramate
version: "0.8.4"
- uses: terraform-linters/setup-tflint@v4
name: Setup
with:
# renovate: datasource=github-releases depName=terraform-linters/tflint
tflint_version: v0.51.1
- 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