Questions tagged [azure-bicep]

6 questions
1
vote
0 answers

Deploying any bicep file results in Unexpected token p in JSON at position 0

I am trying to deploy a test bicep file in Azure DevOps. I created a simple keyvault, exported the ARM template, then decompiled it to a bicep file in VS Code. I am using v3.* (I'm not sure how to find the exact version) of the ARM template…
1
vote
0 answers

Get a Bicep reference to the private IP allocated to an 'auto-generated' NIC on a Azure Static Web App

I am deploying a Static Web App but only want to expose it to my private network so I can funnel traffic through another resource. I'm using a private endpoint to do this and deploying with Bicep scripts. When you deploy a private endpoint, it…
Brendan
  • 153
0
votes
0 answers

How to add and automatically validate a custom apex domain which is hosted on Azure DNS to an Azure Static Web App using Bicep?

I currently have this on my Bicep template: // Static Web App resource staticWebApp 'Microsoft.Web/staticSites@2024-04-01' = { name: resourceName location: location tags: tags sku: { name: staticWebAppConfigs.home.skuName tier:…
0
votes
0 answers

How to edit Azure Bicep files programmatically?

We have a lot of .bicep + .bicepparam files, and sometimes we have evolving ideas on how to structure those. This involves makes changes to many many files, to apply the new approach. Some of these changes we can just do with text-based…
Grilse
  • 115
0
votes
0 answers

How to add delegation to existing subnet in azure bicep?

I am trying to create azure app function which should be accessible to postgres in private vnet. But, it seems the network is showing error as already delegated so can't add that. So I tried adding delegation to aks network and azure app gateway…
-1
votes
1 answer

Azure eventgrid creation fails with standard sku

I'm attempting to create an Event Grid for custom topics using the standard tier and encountering an error: New-AzEventGridTopic_CreateExpanded: C:\path-to-script\Deploy-EventGrid-test.ps1:10:1 Line | 10 | New-AzEventGridTopic ` | …