Cold start root account was created with aws organizations enabled #109
-
|
starting quick start and hit a snag with aws organizations we ran the following command per this step https://docs.cloudposse.com/layers/accounts/deploy-accounts/?workflows=atmos#-deploy-the-aws-organization plan went through but got this error due to pre-existing aws organization , I'm assuming it was created during the root account creation accidentally on our end. Would you recommend we delete the aws organization and retry or import it & how if so? Its all greenfield so figure deleting the organization would be fine & then the command should work but figured I'd ask for recommendation |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Both Destroy & Recreate or Import are valid options. The only decision the factor in my head is: if you know where the state lives that currently manages that organization. Hopefully it lives in your Terraform state bucket that's created and managed by the TFState backend component. But if it isn't, if it was on someone else's local or something, then it's probably easiest to just import. Option 1: Destroy and recreateDestroy with: then you should be able to rerun the workflow or individually run Option 2: ImportImport via: Personally I think import is easy enough, but you don't want states stored somewhere else that might eventually try to destroy it or something. Let me know which one you picked and how it goes. |
Beta Was this translation helpful? Give feedback.
+1 to the import option
We've actually just updated the documentation to recommend this workflow going forward. The guidance now is to create the AWS Organization via ClickOps first so you can submit the account quota increase request before starting an engagement and move as quickly as possible. Because of this, the organization will already exist by the time you get to the deployment step, and you'll need to import it.
See the updated docs here (note: deployment is in progress and should be live shortly):