Feature Request: Add Policy Template for CloudWatch Log access useful for Express State Machines #3407
krunde
announced in
Announcements
Replies: 7 comments
|
+1 to this request. This is also needed for standard workflows when logging is enabled. Though, I believe this is something that SAM should just take care of if the options are enabled by a developer. |
0 replies
|
+1 |
0 replies
|
+1 |
0 replies
|
+1 |
0 replies
|
+1 |
0 replies
|
+1 |
0 replies
|
+1 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Description:
Now that SAM has support for Step Functions it would be great to have a Policy Template for granting access to Cloud Watch Logs for a Express State Machine.
Steps to reproduce the issue:
Here is an example State Machine with the added the Policy for the Cloud Watch Logs:
I had to added the two "- Statement" sections in policy to allow the State Machine to talk to my Log Group. It would reduce a lot of typing and changes for errors if these were in a Policy Template. It would reduce that down to be similar to the LambdaInvokePolicy I have in the example. Since I had to do 2 separate statements would this need to be 2 Policy Templates?
All reactions