-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
@aws-cdk/aws-iamRelated to AWS Identity and Access ManagementRelated to AWS Identity and Access ManagementdocumentationThis is a problem with documentation.This is a problem with documentation.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p1
Description
Describe the bug
When I set up the group with the code as written in the reproduction procedure, neither CDK nor CreateStack failed, but Createstack was tried, and I had to wait for more than 20 minutes!
Expected Behavior
It takes a long time to get an error in CloudFormation, so it would be kind to get an error in the CDK constucts.
Current Behavior
After attempting to cdk deploy, CreateStack continued for over 20 minutes without error.
Reproduction Steps
const group = new iam.Group(this, 'sample-group', {});
const policylist: string[] = [
'AWSSome01PowerUser',
……
'AWSSome20PowerUser',
]
for (var policy of policylist)
group.addManagedPolicy(iam.ManagedPolicy.fromAwsManagedPolicyName(policy))
Possible Solution
I want to modify the cdk side to raise an Exception Error.
Additional Information/Context
No response
CDK CLI Version
2.62.2
Framework Version
No response
Node.js Version
any
OS
AmazonLinux2
Language
Typescript
Language Version
No response
Other information
No response
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-iamRelated to AWS Identity and Access ManagementRelated to AWS Identity and Access ManagementdocumentationThis is a problem with documentation.This is a problem with documentation.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p1