Hello, Looking for ideas about how to calculate AW...
# aws
b
Hello, Looking for ideas about how to calculate AWS policy size to see if it will fail at deployment time, trying to anticipate to this error:
LimitExceeded: Maximum policy size of 10240 bytes exceeded for role
s
Are you applying the policy directly to the role or attaching it? Try using
aws.iam.RolePolicyAttachment
instead of
aws.iam.RolePolicy
. Also, look at whether an AWS-managed policy might fit your use case.