[ Issue 567 ] Remove tfvars from infrastructure config #65
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: CI Infra Service Checks | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- infra/*/service/** | |
- infra/test/** | |
- .github/workflows/ci-infra-service.yml | |
pull_request: | |
paths: | |
- infra/*/service/** | |
- infra/test/** | |
- .github/workflows/ci-infra-service.yml | |
workflow_dispatch: | |
env: | |
APP_NAME: frontend | |
jobs: | |
infra-test-e2e: | |
name: Test service | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: hashicorp/setup-terraform@v2 | |
with: | |
terraform_version: 1.2.1 | |
terraform_wrapper: false | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ">=1.19.0" | |
- name: Configure AWS credentials | |
uses: ./.github/actions/configure-aws-credentials | |
with: | |
app_name: ${{ env.APP_NAME }} | |
# Run infra CI on dev environment | |
environment: dev | |
- name: Run Terratest | |
run: make APP_NAME=${{ env.APP_NAME }} infra-test-service |