Skip to content

Pre-existing Organization on vanilla setup (The AWS account is already a member of an organization.) #56

Discussion options

You must be logged in to vote

You can use an existing organization, but the designated root account must be the management account of the org. Plus, existing accounts other than that root account will not be included with Terraform automatically.

To do so, you will need to import the existing organization into Terraform. Please see Import the organization into Terraform using the account component

ie

atmos terraform import account --stack core-gbl-root 'aws_organizations_organization.this[0]' 'o-7qcakq6zxw'

Please be extra cautious when applying accounts Terraform. Double check plans first and make sure you're not deleting your accounts or organizations.

Replies: 1 comment 1 reply

Comment options

milldr
Apr 22, 2025
Maintainer Sponsor

You must be logged in to vote
1 reply
@dukarc
Comment options

Answer selected by dukarc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants