Skip to content

Conversation

@gweiying
Copy link

Used for CI/CD Serverless deployments to ApiGateway and Lambda .

To use, replace <region>, <account_no> and <service_name> with specific project details.

Problem

We don't have a reference for IAM permissions necessary to deploy to ApiGateway and Lambda.

Solution

Added reference IAM policy that limits access only to the project that is being deployed. Policy has been tested on Isomer site-creation-backend repo.

Policy is adapted from https://serverless-stack.com/chapters/customize-the-serverless-iam-policy.html

Used for Serverless deployments. Adapted from https://serverless-stack.com/chapters/customize-the-serverless-iam-policy.html

To use, replace <region>, <account_no> and <service_name> with specific project details.
@gweiying gweiying requested a review from lamkeewei September 17, 2021 04:53
@gweiying gweiying requested a review from LoneRifle September 17, 2021 05:02
Copy link

@liangyuanruo liangyuanruo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Realised that this PR was dangling, so I'm going to request changes on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants