Test IaC @ bedrockguardrail #4
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: Bedrock - Build | |
run-name: Test IaC @ ${{ github.ref_name }} | |
on: | |
push: | |
paths: | |
- .github/workflows/bedrock-build.yml | |
- Bedrock/cdk/** | |
concurrency: | |
cancel-in-progress: true | |
group: ${{ github.workflow }} | |
defaults: | |
run: | |
shell: bash | |
working-directory: Bedrock/cdk/guardrail | |
jobs: | |
bedrock-guardrail: | |
name: Test Bedrock Guardrail IaC | |
runs-on: ubuntu-latest | |
env: | |
ENV_STAGE: dev | |
steps: | |
- uses: actions/checkout@v4 | |
- run: make lint-python | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Set up aws-cdk | |
run: make install-cdk | |
- name: Print deployment environment | |
run: | | |
echo "INFO: cdk version: $(cdk --version)" | |
echo "INFO: node version: $(node --version)" | |
echo "INFO: npm version: $(npm --version)" | |
echo "INFO: python3 version: $(python3 --version)" | |
- name: Run cdk synth | |
run: make synth-guardrail |