3 Answers
- Newest
- Most votes
- Most comments
1
Hello.
It looks like there is "Effect" in "Effect", but I think it is actually "Action".
- Effect: Deny
Sid: S3Deny
Action:
- s3:Get*
- s3:List*
NotResource: !Split
- ","
- !Ref S3NotResource
1
It seems you have 2 “Effects”? Try to change the second one with Actions
0
The error was spotted. One of the ARNs in the parameter list was wrong.
Thanks for the help.
answered 4 months ago
Relevant content
- asked a year ago
- asked 2 years ago
- asked 2 years ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
Sorry it was having
Action
only, that was a typo but still I am experiencing the same error I posted above. Please suggest why it is still throwing an error.I suspect that the following part is the cause of the error. I haven't seen the full text of CloudFormation, so I'm not sure, but what value does "S3NotResource" contain?
Riku_Kobayashi, S3NotResource is a parameter of Type String.
Could you please tell me the specific value? I would like to reproduce the error before troubleshooting.