Azure Tenant Configuration

Source code & Installation

The source code of this kit module can be found hereopen in new window

Run the following command to install the kit module:

collie kit import azure/admin/tenant
1

In Azure, the AAD tenant is its own concept.

TIP

Keep in mind that every tenant has a "root management group", sitting at the top of the management group hierarchy. The id of this management group is equal to the AAD tenant id.

Requirements

NameVersion
terraform>= 1.0
azurerm~> 3.71.0

Modules

NameSourceVersion
billing_admins./billing-adminsn/a

Resources

NameType
azurerm_management_group.adminopen in new windowresource
azurerm_management_group.landingzonesopen in new windowresource
azurerm_management_group.platformopen in new windowresource
azurerm_management_group_policy_assignment.allowed_locationsopen in new windowresource
azurerm_management_group_policy_assignment.allowed_locations_resource_groupsopen in new windowresource
azurerm_management_group.rootopen in new windowdata source
azurerm_policy_definition.allowed_locationsopen in new windowdata source
azurerm_policy_definition.allowed_locations_resource_groupsopen in new windowdata source

Inputs

NameDescriptionTypeDefaultRequired
aad_tenant_idId of the AAD Tenant. This is also the simultaneously the id of the root management group.stringn/ayes
allowed_locationsAllowed Azure regions.list(string)n/ayes
billing_usersThe list of users identified by their UPN that shall be granted billing access
list(object({
email = string,
upn = string,
}))
[]no
platform_management_group_nameCreate a management group of the specified name and treat it as the root of all resources managed as part of this kit.
This managment group will sit directly below the root management group (AAD Tenant).
This is good for separationg, in particular if you don't have exclusive control over the AAD Tenant because
it is supporting non-cloudfoundation workloads as well.
stringn/ayes

Outputs

NameDescription
admin_management_group_idid of the admin management group
documentation_mdn/a
landingzones_management_group_idid of the landingzones management group