Azure Resource Manager(ARM) Templates are used to deploy all the resources required for an application to Azure. In the template, you define the resources that are needed for the application and specify deployment parameters to input values for different environments. They consist of JSON and expressions which you can use to construct values for your deployment.
Questions tagged [azure-rm-template]
1862 questions
0
votes
1 answer
How to create custom script extension on virtual machine scale set of linux using azure resource manager template?
Here is my template1.json which is used to create cluster with virtual machine scale set. I want to add extensions to it using the same arm template1. I tried including script of extensions in the properties section of managed clusters (…

Soumya S
- 21
- 6
0
votes
1 answer
How I can see the azure arm template output? or any functions like concat or resourceid output for debugging purpose
Wondering how to see the result of any ARM function.
for example, concat function used on dependson and it makes the template invalid
It would be great to be able to see how JSON translated from arm functions and parameter before sending to…

Benyamin Famili
- 119
- 11
0
votes
2 answers
How to configure ARM templates and parameter file to create multiple service bus topics across different environments
My repo has different arm templates (azure deploy json files) for two different environments. Each environment has its own service bus namespace. I want to generate the same list of topics for each environment in the arm template.
I want to keep…

Ronnie
- 101
- 5
0
votes
1 answer
Referencing variables across `copy` declarations in Azure ARM templates
I'm creating an Azure ARM template. I'm using the copy declaration to avoiding repeating my code; however, I've found that this often leads to repetition itself. Consider the following example from ARM Lab 6:
"variables": {
"hubID":…

Þórir Sachie
- 209
- 1
- 2
- 11
0
votes
1 answer
Specify Function App Configuration with Key Vault Reference in Azure ARM Template
Is there a way to specify KeyVault References in Function App configuration within my ARM template?
I have an ARM template that will deploy an Azure Function App with different deploy parameter for each environment. Currently I am retrieving the…

Ringo
- 601
- 5
- 14
0
votes
0 answers
Deploy an AKS cluster inside an existing Vnet/sub-net using ARM templates
I have an existing Virtual Network created with two subnets: aks-subnet and persistence-subnet.
My goal is to create an Azure Kubernetes Cluster inside the aks-subnet
I am creating resource groups and resources at the subscription level, using the…

bgarcial
- 2,915
- 10
- 56
- 123
0
votes
1 answer
ARM template integration with Azure Key Vault
I am trying to retrieve keyVault values within my ARM template
I have enabled my keyVault for ARM template retrieval
My parameter file looks like this
"postleadrequesturl": {
"reference": {
"keyVault": {
"id":…

David
- 1,203
- 6
- 25
- 48
0
votes
1 answer
Substituting service url is arm template
I have an ARM template that deploys API's to an API Management instance
Here is an example of one API
{
"properties": {
"authenticationSettings": {
"subscriptionKeyRequired": false
},
"subscriptionKeyParameterNames": {
…

David
- 1,203
- 6
- 25
- 48
0
votes
1 answer
ARM template deploy generating conflict error for traffic manager
I have come onto a project that has had an ARM deployment via templates running for a number of months now, and until recently everything was working without issue:
Successful deployments
But then, something changed and most (but not all)…

Selurs
- 11
- 3
0
votes
1 answer
Coditional statement in Arm template for msDeploy packageuri
My goal is to deploy a packaged .zip with msDeploy and another if a condition is met. currently the template looks like this:
"resources": [
{
"name": "MSDeploy",
"type": "Extensions",
"apiVersion": "2015-02-01",
…

Razoll
- 107
- 1
- 1
- 7
0
votes
2 answers
Azure Resource Manager Template: Is there a way to get all resourceId/resourceName of a resource type under a Resource Group?
I wonder if there is a way to get all resources of a particular type under a resource group?

Yituo
- 1,458
- 4
- 17
- 26
0
votes
1 answer
Azure Resource Group Deployment Fails
I have an Azure Resource Group Deployment project in Visual Studio 2019 that validates and deploys fine from Visual Studio, however when I try to deploy it through Azure Release Pipeline with an Azure Resource Group Deployment Task it intermittently…

TrevorBrooks
- 3,590
- 3
- 31
- 53
0
votes
2 answers
Azure ARM templates with Storage and Cosmos Db connection strings
I hope someone knows how to do this.
I have setup an ARM template which creates my resources when I do CI/CD which is great.
I have even managed to set up a connection string:
"ConnectionStrings:ConnectionString": "[concat('Data Source=tcp:',…

r3plica
- 13,017
- 23
- 128
- 290
0
votes
2 answers
enabling diagnostics in an Azure datafactory using arm template
I would like to enable diagnostics for Azure Datafactory using ARM-Template.
I have found this post and then I try to test my code:
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion":…

Kaja
- 2,962
- 18
- 63
- 99
0
votes
2 answers
Azure ARM template with PowerShell deployment fails on the NIC with an InvalidResourceReference error
I have an Azure generated template and parameters file for creating a simple VM. It works fine with the supplied deploy.ps1. I've updated the parameters file to create another VM in a new resource group, but it now fails with an "Invalid resource…

Slartibartfast
- 3
- 2