Skip to content

Add starter terraform test GitHub Action #1

Add starter terraform test GitHub Action

Add starter terraform test GitHub Action #1

name: Terraform Unit Tests
on:
push:
# Todo: Add a nightly run
jobs:
application-load-balancer-unit-tests:
runs-on: ubuntu-latest
steps:
- uses: hashicorp/setup-terraform@v3

Check failure on line 12 in .github/workflows/terraform-unit-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/terraform-unit-tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
- run: cd application-load-balancer
- run: terraform init
- run: terraform test