Prerequisites for a customer¶
Check these for every customer, before you run the bootstrap against the customer's tenant. What your organization needs once is on Prerequisites for your organization. What the bootstrap creates is on the bootstrap reference page.
Azure¶
- A tenant for the customer, with the management group root available to build the Cloud Adoption Framework hierarchy under.
- Subscriptions. At a minimum a management subscription for platform resources and state. The reference adds a connectivity subscription for the hub network and one or more workload subscriptions for landing zones.
- Scope placement. The deploy identities operate at one management group,
management_group_scope_idin the bootstrap. The default is the tenant root group, which covers every subscription. If you point it at an intermediate management group instead, move the management subscription, and the connectivity subscription if there is one, under that group before the first apply. The apply identity is Owner at that scope only, and the first unit writes to the management subscription before the landing-zones unit places it in the hierarchy. Otherwise the first apply fails withAuthorizationFailedonrg-management-<loc>. - Resource providers. On the management subscription the bootstrap
handles it:
scripts/create-backend.shregistersMicrosoft.Storagewhen it is not registered, and the bootstrap's Terraform registers the rest it needs. Your account needs the right to register providers there (Contributor or Owner on the subscription). Any other subscription the foundation or a landing zone deploys into needs its providers registered up front: the customer repository's units never register providers.
az login
and needs to create resource groups in the management subscription, assign
roles at the management group scope, and assign a role on the bootstrap's own
state account.
License¶
- An entitlement for your GitHub organization and this customer's Azure tenant,
as a repository variable next to your license. The bootstrap writes it;
scripts/onboard.shfetches it from the license portal, andgh variable setis the fallback. See License.