Open atheiman opened 1 year ago
Hi @atheiman , thanks for sharing this. For me this job function worked:
policies:
awsManaged:
- AdministratorAccess
Actually I checked the ARNs for job function policies. Some have job-function in the ARN and some don't!!! There is inconsistency. arn:aws:iam::aws:policy/AdministratorAccess arn:aws:iam::aws:policy/job-function/DataScientist arn:aws:iam::aws:policy/job-function/ViewOnlyAccess arn:aws:iam::aws:policy/ReadOnlyAccess arn:aws:iam::aws:policy/job-function/Billing
Is your feature request related to a problem? Please describe. We had to go thru trial and error to add "Billing" managed iam policy to a role via roleSets. First we tried adding
awsManaged: Billing
, then the arnawsManaged: arn:aws:blah:blah:policy/aws/job-function/Billing
(i know the arn is incorrect), and finally got it to work withjob-function/Billing
. This should be documented here: https://awslabs.github.io/landing-zone-accelerator-on-aws/classes/_aws_accelerator_config.PoliciesConfig.html#awsManaged or included in more examples. AWS recommends using these job function managed policies.