Azure Template Tenant Template Deployment

This page shows how to write Terraform and Azure Resource Manager for Template Tenant Template Deployment and write them securely.

azurerm_tenant_template_deployment (Terraform)

The Tenant Template Deployment in Template can be configured in Terraform with the resource name azurerm_tenant_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.

Review your Terraform file for Azure best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

Explanation in Terraform Registry

Manages a Template Deployment at the Tenant Scope.

Note: Deleting a Deployment at the Tenant Scope will not delete any resources created by the deployment.

Note: Deployments to a Tenant are always Incrementally applied. Existing resources that are not part of the template will not be removed.

Note: Tenant Template Deployments are always targeted at the Tenant in which the current User, Managed Identity, or Service Principal being used by Terraform is homed.

Microsoft.Resources/deployments (Azure Resource Manager)

The deployments in Microsoft.Resources can be configured in Azure Resource Manager with the resource name Microsoft.Resources/deployments. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

template.json#L6
            "type": "Microsoft.Resources/deployments",
            "apiVersion": "2018-02-01",
            "name": "pid-0b87316f-9d3a-427e-88cf-399fc4100b33",
            "properties": {
                "mode": "Incremental",
                "template": {
azuredeploy.json#L20
            "type": "Microsoft.Resources/deployments",
            "properties": {
            "mode": "Incremental",
            "templateLink": {
                "uri": "https://raw.githubusercontent.com/lnesdevops/sql16w16build/master/azuredeploy.json",
                "contentVersion": "1.0.0.0"
master.template.json#L53
            "type": "Microsoft.Resources/deployments",
            "properties": {
              "mode": "Incremental",
              "templateLink": {
                 "uri":"[concat(parameters('repoBaseUrl'), '/service.template.json')]",
                 "contentVersion":"1.0.0.0"
master.json#L17
      "type": "Microsoft.Resources/deployments",
      "properties": {
        "mode": "incremental",
        "templateLink": {
          "uri": "https://javaonazure.blob.core.windows.net/deployment/container-registry.json",
          "contentVersion": "1.0.0.0"
simple-nsg-scale-nested.json#L26
      "type": "Microsoft.Resources/deployments",
      "apiVersion": "2016-09-01",
      "properties": {
        "mode": "Incremental",
        "templateLink": {
          "uri": "[parameters('_artifactsLocation')]",
FullEnvironmentSetup.json#L93
            "type": "Microsoft.Resources/deployments",
            "apiVersion": "2014-04-01-preview",
            "properties": {
                "mode": "Incremental",
                "templateLink": {
                    "uri": "[concat(parameters('sharedTemplateUrl'), '/', variables('sqlServerAndDbTemplateFile'))]",

Frequently asked questions

What is Azure Template Tenant Template Deployment?

Azure Template Tenant Template Deployment is a resource for Template of Microsoft Azure. Settings can be wrote in Terraform.