AWS::SSO::PermissionSet InlinePolicy length limit is 1024 instead of 10240
Name of the resource
AWS::SSO::PermissionSet
Resource Name
No response
Issue Description
On the AWS CloudFormation console, when I try to create a stack, containing a AWS::SSO::PermissionSet with an InlinePolicy I get the following error:
1 validation error detected: Value 'Invalid PermissionsPolicy Document
(Service: SsoAdmin, Status Code: 400, Request ID: XXX)' at 'statusMessage' failed to satisfy constraint: Member must have length less than or equal to 1024
My InlinePolicy is 1321 character long.
Expected Behavior
To successfully create the AWS::SSO::PermissionSet as the InlinePolicy length limit should be 10240 characters. Please see the docs:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-permissionset.html#cfn-sso-permissionset-inlinepolicy
Observed Behavior
I get a validation error
Test Cases
You can recreate the error by trying to create a CloudFormation stack on AWS console, containing a AWS::SSO::PermissionSet with an InlinePolicy of 1321 characters (excluding any spaces, tabs) or more.
Other Details
No response