Skip to content

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_id in 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 with AuthorizationFailed on rg-management-<loc>.
  • Resource providers. On the management subscription the bootstrap handles it: scripts/create-backend.sh registers Microsoft.Storage when 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 provider register --namespace <Microsoft.Provider> --subscription <subscription-id> --wait
- Operator rights. The person running the bootstrap signs in with 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.sh fetches it from the license portal, and gh variable set is the fallback. See License.