Skip to content

Commit

Permalink
Merge pull request #41 from aligent/feature/add-stepfunction-log-group
Browse files Browse the repository at this point in the history
feat: support stepfunction log groups
  • Loading branch information
TheOrangePuff authored Apr 16, 2024
2 parents 4ab0916 + aa62b12 commit 6c75d09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/serverless-deploy-iam/bin/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export class ServiceDeployIAM extends cdk.Stack {
`/aws/lambda/${serviceName}*`,
`/aws/apigateway/${serviceName}*`,
`/aws/express/${serviceName}*`,
`/aws/stepfunctions/${serviceName}*`,
`:log-stream:*`,
`${serviceName}*`
],
Expand Down
5 changes: 5 additions & 0 deletions packages/serverless-deploy-iam/test/deploy-role.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ describe('Deploy user policy', () => {
"",
["arn:aws:logs:", { "Ref": "AWS::Region" }, ":", { "Ref": "AWS::AccountId" }, ":log-group:/aws/express/jest*"]
]
}, {
"Fn::Join": [
"",
["arn:aws:logs:", { "Ref": "AWS::Region" }, ":", { "Ref": "AWS::AccountId" }, ":log-group:/aws/stepfunctions/jest*"]
]
}, {
"Fn::Join": [
"",
Expand Down

0 comments on commit 6c75d09

Please sign in to comment.