Closed zhahaoyu closed 1 year ago
Thanks for the bug report, the docs call this out and say to use fromSecretCompleteArn()
instead
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
I have spent hours debugging this issue and finally found this bug.
When a secret is created with a name ending "-[0-9a-f]{6}", for my specific examples, I named the secret "xyz-secret" and "xyz-google".
When I used it as a secret for my
LoadBalancedApplicationService
, it keeps getting AccessDeniedException, but the secret with fewer digit works just fine.I am suspecting that there is a hard-coded rule somewhere that makes a special treatment for "-[0-9a-f]{6}".
Expected Behavior
It should work fine
Current Behavior
It reports AccessDeniedException
Reproduction Steps
Possible Solution
Additional Information/Context
No response
CDK CLI Version
2.99.1 (build b2a895e)
Framework Version
No response
Node.js Version
16
OS
mac os
Language
TypeScript
Language Version
No response
Other information
No response