Merge pull request #123 from PermanentOrg/fix_terraform_variable_names #308
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: Validate Terraform (test envs) | |
on: | |
push: | |
paths: | |
- ./terraform/test_cluster/** | |
jobs: | |
validate_terraform: | |
name: "Validate Terraform" | |
runs-on: ubuntu-20.04 | |
defaults: | |
run: | |
working-directory: ./terraform/test_cluster | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Terraform | |
uses: hashicorp/setup-terraform@v1 | |
with: | |
cli_config_credentials_token: ${{ secrets.TERRAFORM_API_TOKEN }} | |
- name: Terraform Format | |
id: fmt | |
run: terraform fmt -check | |
- name: Terraform Init | |
id: init | |
run: terraform init | |
- name: Terraform Validate | |
id: validate | |
run: terraform validate -no-color |