azurerm_tenant_template_deployment

Manages a Template Deployment at the Tenant Scope.

Example Usage

data "azurerm_template_spec_version" "example" {
  name                = "myTemplateForTenant"
  resource_group_name = "myResourceGroup"
  version             = "v0.1"
}

resource "azurerm_tenant_template_deployment" "example" {
  name                     = "example"
  location                 = "West Europe"
  template_spec_version_id = data.azurerm_template_spec_version.example.id
}

Arguments Reference

The following arguments are supported:


Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

Tenant Template Deployments can be imported using the resource id, e.g.

terraform import azurerm_tenant_template_deployment.example /providers/Microsoft.Resources/deployments/deploy1