Region in ARN causing access denied error on iam:PassRole #3733
Closed
Description
🐛 Bug Report
What is the problem?
This line appears to add a region to the arn of the service linked role. This causes AccessDenied errors on iam:PassRole when it is deployed because IAM is a non-regional resource.
https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-iam
Reproduction Steps
- install modules via npm install
- compile code via npm run build
- run synth via cdk synth