Azure Template Management Group Template Deployment
This page shows how to write Terraform and Azure Resource Manager for Template Management Group Template Deployment and write them securely.
azurerm_management_group_template_deployment (Terraform)
The Management Group Template Deployment in Template can be configured in Terraform with the resource name azurerm_management_group_template_deployment. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
-
debug_leveloptional - string -
idoptional computed - string -
locationrequired - string -
management_group_idrequired - string -
namerequired - string -
output_contentoptional computed - string -
parameters_contentoptional computed - string -
tagsoptional - map from string to string -
template_contentoptional computed - string -
template_spec_version_idoptional - string -
timeoutssingle block
Explanation in Terraform Registry
Manages a Template Deployment at a Management Group Scope.
Note: Deleting a Deployment at the Management Group Scope will not delete any resources created by the deployment.
Note: Deployments to a Management Group are always Incrementally applied. Existing resources that are not part of the template will not be removed.
Microsoft.Management/managementGroups (Azure Resource Manager)
The managementGroups in Microsoft.Management can be configured in Azure Resource Manager with the resource name Microsoft.Management/managementGroups. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
"type": "Microsoft.Management/managementGroups",
"apiVersion": "2020-05-01",
"name": "[parameters('topLevelManagementGroupPrefix')]",
"properties": {}
},
{
"type": "Microsoft.Management/managementGroups",
"apiVersion": "2020-05-01",
"name": "[parameters('topLevelManagementGroupPrefix')]",
"properties": {}
// },
// {
"type": "Microsoft.Management/managementGroups",
"apiVersion": "2020-05-01",
"name": "[variables('mgName')]",
"properties": {}
},
{
"type": "Microsoft.Management/managementGroups",
"apiVersion": "2020-05-01",
"name": "[parameters('enterpriseScaleCompanyPrefix')]",
"properties": {}
},
{
"type": "Microsoft.Management/managementGroups",
"apiVersion": "2020-05-01",
"name": "[parameters('topLevelManagementGroupPrefix')]",
"properties": {}
},
{
"type": "Microsoft.Management/managementGroups",
"apiVersion": "2020-05-01",
"name": "[parameters('topLevelManagementGroupPrefix')]",
"properties": {}
},
{
"type": "Microsoft.Management/managementGroups",
"apiVersion": "2020-05-01",
"name": "[parameters('topLevelManagementGroupPrefix')]",
"properties": {}
},
{
"type": "Microsoft.Management/managementGroups",
"apiVersion": "2020-05-01",
"name": "[parameters('topLevelManagementGroupPrefix')]",
"properties": {}
},
{
"type": "Microsoft.Management/managementGroups",
"apiVersion": "2020-05-01",
"name": "[parameters('topLevelManagementGroupPrefix')]",
"properties": {}
},
{
"type": "Microsoft.Management/managementGroups",
"apiVersion": "2020-05-01",
"name": "[parameters('topLevelManagementGroupPrefix')]",
"properties": {}
},
{