https://pulumi.com logo
#aws
Title
# aws
b

best-lifeguard-91445

02/07/2021, 4:52 AM
I'm getting an error creating a policy document:
Copy code
error: 1 error occurred:
        * Error putting IAM role policy app-services-instance-sns-write-server-sent-events-8a49b9c: LimitExceeded: Maximum policy size of 10240 bytes exceeded for role ecs-use1-stage-app-services-instance-role-cebf8d5
        status code: 409, request id: bd737292-329c-4a82-81e5-7b81da9abc75
The policy document appears to be correct, and does not exceed the byre limit. Any ideas?
Looks like I have too many inline policies -- the aggregate of all policies cannot exceed 10,240 bytes.. that's unfortunate. Looks like I need to refactor to a higher granularity of permission assignment.
🙏 1
19 Views