org-formation / org-formation-reference

A reference architecture which aims to provide some best practices for any AWS Organization starting out using org-formation.
91 stars 23 forks source link

Update EbsEncryptionDefaultsRp and AccountPublicAccessBlockRp versions in the reference #48

Closed keithduncan closed 1 year ago

keithduncan commented 1 year ago

I recently applied the reference template to an organisation and found that these custom types were not permitted to perform their IAM Actions. I tracked this down to the self protect SCP which limits access to the ec2:DisableEbsEncryptionByDefault and s3:PutAccountPublicAccessBlock IAM Actions. These updated versions place their IAM Role in the /community-types/ Path which the SCP self-protect policy permits to perform the IAM Actions they execute.