This repository has been archived by the owner on Jan 27, 2024. It is now read-only.
Add deprecation note #353
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 | |
- 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 }} |