Skip to content

Resolved static code analysis issues found by tfsec (#10) #21

Resolved static code analysis issues found by tfsec (#10)

Resolved static code analysis issues found by tfsec (#10) #21

Workflow file for this run

name: Publish Infra
on:
# PR targeting master is created or new commits are pushed
push:
branches:
- master
paths:
- "infrastructure/**"
# Manual trigger via GH Actions UI
workflow_dispatch:
inputs:
environment:
description: "Select target environment"
required: true
default: "dev"
type: choice
options:
- dev
- test
- prod
jobs:
deploy:
uses: ./.github/workflows/aws-template-terraform.yml
with:
CONTEXT_FOLDER: "./infrastructure/cloud/environments/${{ inputs.environment || 'dev' }}"
CHANGE_FOLDER_NAME: environments/${{ inputs.environment || 'dev' }}
ENVIRONMENT_NAME: ${{ inputs.environment || 'dev' }}
TEST_BUCKET_NAME: jasper-test-bucket
APPLY_TF_CODE: true
secrets: inherit