You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
delete_role_policy call fails to delete a policy who's name is longer than 64 chars.
Expected Behavior
This policy can be deleted from the role on the AWS console just fine, so should be replicated on boto3 as well.
Current Behavior
An error occurred (ValidationError) when calling the DeleteRolePolicy operation: 1 validation error detected: Value 'CloudTrailPolicyForCloudWatchLogs_10d32d54-043c-4293-b3b0-2e757d758cd0' at 'roleName' failed to satisfy constraint: Member must have length less than or equal to 64
Reproduction Steps
Create a role policy attached to a role with a name longer than 64 chars and attempt to delete it using aws cli or boto3.
Possible Solution
Remove >= 64 char limitation for rolePolicy name.
Additional Information/Context
No response
SDK version used
1.26.119
Environment details (OS name and version, etc.)
MacOS 13.1
The text was updated successfully, but these errors were encountered:
Describe the bug
delete_role_policy call fails to delete a policy who's name is longer than 64 chars.
Expected Behavior
This policy can be deleted from the role on the AWS console just fine, so should be replicated on boto3 as well.
Current Behavior
Reproduction Steps
Create a role policy attached to a role with a name longer than 64 chars and attempt to delete it using aws cli or boto3.
Possible Solution
Remove >= 64 char limitation for rolePolicy name.
Additional Information/Context
No response
SDK version used
1.26.119
Environment details (OS name and version, etc.)
MacOS 13.1
The text was updated successfully, but these errors were encountered: