feat: add monitoring stack with prometheus and grafana #12
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: TF for Helm | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [master] | |
jobs: | |
tf_helm_validate: | |
runs-on: ubuntu-latest | |
environment: ${{ vars.ENVIRONMENT }} | |
name: Validate TF Helm | |
steps: | |
- name: Checking out the terraform code | |
uses: actions/checkout@v3 | |
- name: Setup `Terraform` | |
uses: hashicorp/setup-terraform@v2 | |
- name: Enter root tf directory | |
run: | | |
cd root | |
- name: Terraform fmt | |
id: fmt | |
run: terraform fmt -check | |
continue-on-error: true | |
- name: Terraform Init | |
id: init | |
run: terraform init | |
- name: Terraform Validate | |
id: validate | |
run: terraform validate -json |