-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iam: Role.customizeRoles not work with dynamodb.Table.addGlobalSecondaryIndex #31653
Comments
Reproducible. I think the usage should be iam.Role.customizeRoles(app, {
usePrecreatedRoles: {
'Role': 'my-existing-role-name',
},
}); But I am getting the same error
while if I use iam.Role.customizeRoles(stack, {
usePrecreatedRoles: {
'Role': 'my-existing-role-name',
},
});
Subprocess exited with error 1 We'll bring this up to the team for inputs. |
Thank you @pahud , I've added
|
Comments on closed issues and PRs are hard for our team to see. |
1 similar comment
Comments on closed issues and PRs are hard for our team to see. |
Describe the bug
With
Role.customizeRoles
enabled,dynamodb.Table.addGlobalSecondaryIndex
causes an error. This is a critical blocker for customers who require the use ofcustomizeRoles
.Log with
CDK_DEBUG=true
:Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
Successfully synthesize.
Current Behavior
Always throws error.
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.161.0 (build be5ad8b)
Framework Version
2.161.0
Node.js Version
v20.13.1
OS
macOS Sonoma
Language
TypeScript
Language Version
TypeScript v5.6.2
Other information
No response
The text was updated successfully, but these errors were encountered: