Skip to content

fix: Add missing permissions to github action #3

fix: Add missing permissions to github action

fix: Add missing permissions to github action #3

Workflow file for this run

name: Deploy Chatbot AWS Infra
on:
push:
branches:
- main
jobs:
cdk-deploy:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: ${{ vars.AWS_GITHUB_ACTIONS_ROLE }}
aws-region: ${{ vars.AWS_REGION }}
- name: Deploy Chatbot Vpc
uses: youyo/aws-cdk-github-actions@v2
with:
cdk_subcommand: deploy
cdk_stack: ChatbotVpcStack
cdk_args: "--require-approval never"
actions_comment: false