Attach IAM policy to a User instead of a Role
- Modifies the
iam_policy
command to apply to an IAM user instead of a role. This is required on our shared servers, because a server can only have one role, and the role was getting too big. - This role should now be run on
localhost
, as it requires the current AWS environment to have permission to add policies to other users.