Azure Template Subscription Template Deployment
This page shows how to write Terraform and Azure Resource Manager for Template Subscription Template Deployment and write them securely.
azurerm_subscription_template_deployment (Terraform)
The Subscription Template Deployment in Template can be configured in Terraform with the resource name azurerm_subscription_template_deployment
. The following sections describe 1 example of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_subscription_template_deployment" "terraform-iso" {
name = "terraform-iso-1"
location = "West Europe"
template_content = <<TEMPLATE
{
Parameters
-
debug_level
optional - string -
id
optional computed - string -
location
required - string -
name
required - string -
output_content
optional computed - string -
parameters_content
optional computed - string -
tags
optional - map from string to string -
template_content
optional computed - string -
template_spec_version_id
optional - string -
timeouts
single block
Explanation in Terraform Registry
Manages a Subscription Template Deployment.
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
"type": "Microsoft.Resources/deployments",
"apiVersion": "2018-02-01",
"name": "pid-0b87316f-9d3a-427e-88cf-399fc4100b33",
"properties": {
"mode": "Incremental",
"template": {
"type": "Microsoft.Resources/deployments",
"properties": {
"mode": "Incremental",
"templateLink": {
"uri": "https://raw.githubusercontent.com/lnesdevops/sql16w16build/master/azuredeploy.json",
"contentVersion": "1.0.0.0"
"type": "Microsoft.Resources/deployments",
"properties": {
"mode": "Incremental",
"templateLink": {
"uri":"[concat(parameters('repoBaseUrl'), '/service.template.json')]",
"contentVersion":"1.0.0.0"
"type": "Microsoft.Resources/deployments",
"properties": {
"mode": "incremental",
"templateLink": {
"uri": "https://javaonazure.blob.core.windows.net/deployment/container-registry.json",
"contentVersion": "1.0.0.0"
"type": "Microsoft.Resources/deployments",
"apiVersion": "2016-09-01",
"properties": {
"mode": "Incremental",
"templateLink": {
"uri": "[parameters('_artifactsLocation')]",
"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 Subscription Template Deployment?
Azure Template Subscription Template Deployment is a resource for Template of Microsoft Azure. Settings can be wrote in Terraform.
Where can I find the example code for the Azure Template Subscription Template Deployment?
For Terraform, the FrankS77/terraform-examples source code example is useful. See the Terraform Example section for further details.
For Azure Resource Manager, the asafc64/AzureTicket, lnesdevops/vfRegression and Azure/azure-api-management-devops-resource-kit source code examples are useful. See the Azure Resource Manager Example section for further details.