Skip to content

JASPER-217: Integrate Authorizer to API Gateway #65

JASPER-217: Integrate Authorizer to API Gateway

JASPER-217: Integrate Authorizer to API Gateway #65

Workflow file for this run

name: Build Infra
on:
# When a PR is created targeting master branch
pull_request:
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:
build-initial:
uses: ./.github/workflows/aws-template-terraform.yml

Check failure on line 26 in .github/workflows/build-infra.yml

View workflow run for this annotation

GitHub Actions / Build Infra

Invalid workflow file

The workflow is not valid. In .github/workflows/build-infra.yml (Line: 26, Col: 11): Error from called workflow bcgov/jasper/.github/workflows/aws-template-terraform.yml@c3c08d3ef2838ec44e66f42de8c6b16c6dd9cce3 (Line: 88, Col: 34): Unrecognized named-value: 'var'. Located at position 1 within expression: var.LAMBDA_MEMORY_SIZE
with:
CONTEXT_FOLDER: "./infrastructure/cloud/environments/initial"
CHANGE_FOLDER_NAME: environments/${{ inputs.environment || 'dev' }}
ENVIRONMENT_NAME: ${{ inputs.environment || 'dev' }}
APPLY_TF_CODE: false
secrets: inherit
build:
needs: [build-initial]
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' }}
APPLY_TF_CODE: false
secrets: inherit