Bootstrap a New Account
Manual steps required in the AWS Console before running Terraform.
This section walks you through getting Org Kickstart deployed into a new AWS account.
Before running Org Kickstart you need:
examples/pipeline
to your own private repo — it includes the Makefile, backend config, and directory layoutyour-org.tfvars and your-org.tfbackend for your organization
(see the Reference for all variables; name them to match your env value)make env=your-org tf-init
terraform apply -var-file="your-org.tfvars" -target module.security_account
make env=your-org tf-execute
tf-plan followed by tf-apply — saving the plan, applying it, and writing
output-your-org.json to your state bucket.For subsequent updates, use:
make env=your-org update
If you already have an AWS Organization, see Importing an Existing Org for guidance on importing existing resources into Terraform state.
See the Reference page for a full annotated example. The
examples/pipeline
directory in the repository contains a sample private-repo layout with a Makefile, backend config
template, and scripts for CI/CD deployments.
Manual steps required in the AWS Console before running Terraform.
How to adopt Org Kickstart into an existing AWS Organization.
A complete annotated example tfvars file.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.