Org Bootstrap
Stack: org-bootstrap/ — runs in the management account only.
What this stack does
Section titled “What this stack does”- Delegates IPAM admin to the network member account via
aws_vpc_ipam_organization_admin_account - Enables RAM sharing with AWS Organizations via
aws_ram_sharing_with_organization
RAM org sharing runs here only — not in ipam/. The ipam/ stack creates pool-level RAM shares but requires org-level RAM sharing to be enabled first.
Execution context
Section titled “Execution context”| Field | Value |
|---|---|
| Account | Management |
| Profile | ipam-org |
| Region | Global (Organizations API) |
From a clone of terraform-aws-ipam:
export AWS_PROFILE=ipam-orgaws sts get-caller-identityterraform -chdir=examples/multi-account/org-bootstrap initterraform -chdir=examples/multi-account/org-bootstrap applyCreate examples/multi-account/org-bootstrap/terraform.tfvars locally (gitignored) with your network account ID:
network_account_id = "123456789012"Expected result
Section titled “Expected result”- Network account becomes delegated IPAM admin
- RAM org sharing is enabled (trusted access for Resource Access Manager)
- AWS creates
AWSServiceRoleForIPAMin org member accounts
Verify
Section titled “Verify”# Confirm delegation (management account)aws organizations list-delegated-administrators \ --service-principal ipam.amazonaws.com
# Confirm RAM org sharing enabledaws ram get-resource-share-associations \ --association-type PRINCIPAL \ --query 'associations[?principal==`arn:aws:organizations::333333333333:organization/o-example`]'Replace placeholder IDs with your real values when running locally.
See RAM and onboarding for how this enables pool sharing in the next step.
Next: IPAM deploy.
Upstream: examples/multi-account/