tomwwright / littleorange

Minimalist AWS multi-account cloud leveraging CloudFormation and Lambda.
GNU General Public License v3.0
4 stars 1 forks source link

Initial deployment of LittleOrangeCore stack fails to create Organization with `AccessDeniedForDependencyException` #5

Open tomwwright opened 4 years ago

tomwwright commented 4 years ago

Organization resource provider fails to create service-linked role citing an AccessDeniedForDependencyException exception. This happens even though the service-linked role is being created as part of the same template and has a DependsOn configured.

Not sure what is happening with this one, current workaround was to execute

aws iam create-service-linked-role --aws-service-name organizations.amazonaws.com before deploying stack