This repository has been archived by the owner on Jan 27, 2024. It is now read-only.
fix(enmeshed): fix config syntax and format #341
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Terraform GitHub Actions | |
on: | |
- push | |
jobs: | |
format: | |
name: fmt | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Terraform | |
uses: hashicorp/setup-terraform@v2 | |
with: | |
terraform_version: ^1.0.0 | |
- name: Terraform Format | |
run: terraform fmt -check -recursive | |
validate: | |
name: validate | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
module: | |
- enmeshed | |
- hydra | |
- ingress | |
- ingress-nginx | |
- mysql | |
- pact-broker | |
- postgres | |
- redis | |
- rocket-chat | |
- tls-self-signed-cert | |
- varnish | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Terraform | |
uses: hashicorp/setup-terraform@v2 | |
with: | |
terraform_version: ^1.0.0 | |
- name: Terraform Init | |
run: terraform init -backend=false | |
working-directory: ${{ matrix.module }} | |
- name: Terraform Validate | |
run: terraform validate | |
working-directory: ${{ matrix.module }} |