Skip to content

Commit 87b82e1

Browse files
committed
update help message
1 parent aa13a25 commit 87b82e1

File tree

1 file changed

+25
-9
lines changed

1 file changed

+25
-9
lines changed

src/messages.ts

+25-9
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,31 @@ export const roleSetupInstructions = (owner: string, repo: string): string => {
2424
]
2525
}
2626
27-
3. Ensure the IAM role has the following policies attached:
28-
- AWSLambdaFullAccess
29-
- AWSLambdaRole
30-
- AWSLambdaVPCAccessExecutionRole
31-
- AWSLambdaENIManagementAccess
32-
- AWSLambdaBasicExecutionRole
33-
- AWSLambdaKinesisExecutionRole
34-
- AWSLambdaSQSQueueExecutionRole
35-
- AWSLambdaDynamoDB
27+
3. Add the following policy to ensure Serverless can deploy to your account:
28+
(Feel free to adjust this policy according to your needs!)
29+
{
30+
"Version": "2012-10-17",
31+
"Statement": [
32+
{
33+
"Effect": "Allow",
34+
"Action": [
35+
"dynamodb:*",
36+
"s3:*",
37+
"sns:*",
38+
"sqs:*",
39+
"cloudformation:*",
40+
"lambda:*",
41+
"iam:*",
42+
"apigateway:*",
43+
"secretsmanager:*",
44+
"logs:*",
45+
"xray:*",
46+
"events:*"
47+
],
48+
"Resource": "*"
49+
}
50+
]
51+
}
3652
3753
4. Add the AWS IAM Role ARN to your GitHub Repository Variables:
3854
- https://github.com/${owner}/${repo}/settings/variables/actions

0 commit comments

Comments
 (0)