Skip to content

Region in ARN causing access denied error on iam:PassRole #3733

Closed
@awsuser19

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

  1. install modules via npm install
  2. compile code via npm run build
  3. run synth via cdk synth

Metadata

Assignees

Labels

bugThis issue is a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions