Skip to content

Merge pull request #36 from codeforjapan/refactor/enable-multiaz #36

Merge pull request #36 from codeforjapan/refactor/enable-multiaz

Merge pull request #36 from codeforjapan/refactor/enable-multiaz #36

Workflow file for this run

name: cdk synth ( dev )
on:
push:
branches:
- '*'
env:
AWS_ROLE_ARN: arn:aws:iam::887442827229:role/GithubActions_decidim-cfj-cdk
jobs:
cdk_synth:
name: cdk synth
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
actions: write
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: aws switch role
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: ${{ env.AWS_ROLE_ARN }}
aws-region: ap-northeast-1
- name: cdk synth
uses: youyo/aws-cdk-github-actions@v2
with:
cdk_subcommand: 'synth'
cdk_version: '2.102.0'
working_dir: 'cdk'
cdk_args: '--context stage=dev'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AWS_DEFAULT_REGION: 'ap-northeast-1'