aws-samples / aws-bootstrap-kit-examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to Create organization

dempti opened this issue · comments

Hi,
I am trying to use this to implement the example on my AWS accounts.

However, organization are not being created at all by this. The stack on cloudformation is deployed successfully, but organization are not created.

Did anyone face this issue? What am I doing wrong?

Did you check codepipeline in main account ? the first deployment (https://github.com/aws-samples/aws-bootstrap-kit-examples/tree/main/source/1-SDLC-organization#install-dependencies-and-deploy-the-pipeline or https://activate.workshop.aws/020_landingzone.html ) will deploy a codePipeline which will manage your Organization as Code in a CI/CD pipeline.

Hy @flochaz
Yes, it fails on this error this account is already a part of an organization.
I am doing the deployment via management account.
The current structure of the organization is like this (which was the way before I got my hands on it)
root |-> management account
and I do observe the organization id associated with the management account.

image

yeah you can't run the pipeline creating the bootstrap-kit organization outside of a root account (and that root account should not have org yet neither) :( that is a limitation of AWS Organizations which can't be nested. But if you need to be able to use it in a root account with an existing organization, do you mind to create a feature request for it in this repo ?

it;s fixed.