iam: addManagedPolicy is not implemented #29195
Labels
@aws-cdk/aws-iam
Related to AWS Identity and Access Management
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p1
Describe the issue
Running the current latest version on aws-cdk-lib (2.128.0), the Group construct static method
addManagedPolicy
is not implemented (as can be seen here).This is not mentioned in the documentation here and it just fails silently which is unexpected behaviour.
Proposed (temporary) solution : it should be mentioned clearly in the documentation that this method isn't implemented yet, to prevent other people banging their heads on the wall like I did 😅.
Links
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iam.Group.html#addwbrmanagedwbrpolicypolicy
https://github.com/aws/aws-cdk/blob/v2.80.0/packages/aws-cdk-lib/aws-iam/lib/group.ts#L95
The text was updated successfully, but these errors were encountered: