Questions tagged [azure-rm-template]

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.

1862 questions
0
votes
1 answer

Is it possible to automate Azure 'run as' account creation using ARM templates?

Currently I'm deploying automation accounts using ARM templates but then I have to manually create 'Run as accounts'. Is there any way to automate this process?
john ddd
  • 7
  • 1
0
votes
2 answers

ARM template: issue with output in nested templates

I'm currently facing an issue with nested template. When I'm applying my template (detail below), I get this answer from Azure: Azure Error: InvalidTemplate Message: Deployment template validation failed: 'The template reference…
0
votes
1 answer

Adding a Key Vault Access Policy to an Existing Key Vault via ARM

I am trying to do an ARM deployment in Azure Devops whereby I add a key vault access policy to an existing key vault in Azure. I want to use the following ARM template which adds an access policy to an existing Key Vault: …
0
votes
1 answer

Create output in Azure ARM template with CopyIndex()

I was wondering if it's possible to create a custom output bu using Azure ARM template output section { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "", "apiProfile": "", …
0
votes
3 answers

Azure ARM tempate - Key Vault with creating empty/default secrets

I'm deploying an Azure Key Vault with a list of secrets. To achieve this, I used this quickstart-template. This seems to work fine, but has some problems: The secret-value (provided in the parameters.json) is overwritten on each deploy I only want…
BerDev
  • 1,457
  • 1
  • 8
  • 16
0
votes
1 answer

Azure DevOps SSH Linux VM Created with ARM

I'm creating an Ubuntu Azure VM using an ARM template, this all works perfectly, but as part of my deployment process I need to copy Bash scripts to the VM and then execute them, this is turning out to be a pain. The Azure File Copy task only works…
0
votes
1 answer

ARM Template resourceid() function Fails

Please help me understand what is wrong with my Azure ARM template here, Which is very basic, takes some input arguments and prints out resourceId. { "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", …
0
votes
1 answer

ARM Template for Array of Securestrings

I am trying to create an ARM template that creates Application Gateway and uploads dynamic number of SSL certs with passwords. Creating App Gateway is not a big problem, but I am stuck at passing dynamic number of SSL certificates with passwords…
Koss
  • 57
  • 1
  • 6
0
votes
1 answer

Azure Devops - Domain name is invalid

I am trying to create a virtual machine using ARM template. I have added ARM template in my visual studio and have checked-in into the Azure Repos. On running release pipeline I am receiving below error: InvalidDomainNameLabel: The domain name…
0
votes
1 answer

ARM template - Retrieving from keyvault not working when secret name is concatenated

I am trying to retrieve secrets from a Vault within my ARM template In my parameter file I have the following "resource_Env": { "value": "dev" }, "activation_URI": { "reference": { "keyVault": { "id":…
David
  • 1,203
  • 6
  • 25
  • 48
0
votes
2 answers

How to pass parameters or variables of arm template in log query

While working on log Queries in an arm template, I stuck with how to pass parameter values or variable values in the log Query. parameters: { "resProviderName": { "value": "Microsoft.Storage" } }…
0
votes
0 answers

Deploying Jboss into Azure failing due to script error- ARM Template

i am executing arm template provided in this link ARM to deploy jboss on azure, while executing the ARM template, i am getting below error. {"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list…
pappu_kutty
  • 2,378
  • 8
  • 49
  • 93
0
votes
1 answer

Azure ARM Template to export database to .bacpac file

I wanted to know whether it is possible to write an ARM Template which exports a Azure SQL Database and stores the .bacpac file to any storage account? I found the following link from Microsoft…
0
votes
1 answer

Getting a SAS token for blob storage container doing an ARM deployment with Linked Templates

What I'm trying to do is deploying an ARM template using the Azure CLI on my local system, because I want to try out my changes local first, before pushing it to the repository. We're using Linked Templates, which means I have to specify a URL where…
0
votes
2 answers

Azure App Configuration: Getting PrimaryKey in a arm template

I have extracted the ARM template belonging to the preview version of Azure App Configuration, and am setting it into our IaC repository - so far so good. Our next logical step is to include insertion of the AppConfiguration.PrimaryKey into our Key…
Markus Foss
  • 335
  • 4
  • 14