How to use variable groups in azure biceps file
In order to pass variables like retention days and others from library
I haven't tried yet
How to use variable groups in azure biceps file
In order to pass variables like retention days and others from library
I haven't tried yet
As one of ways.. if you use variable groups as DEV/TEST/PROD envs, you may build your bicep file with parameters by:
az bicep build --file {your_file}
Then use generated ARM template in AzureResourceManagerTemplateDeployment task and assign values from your variable groups through overrideParameters section:
- task: AzureResourceManagerTemplateDeployment@3
displayName: 'ARM Template deployment: Resource Group scope'
inputs:
azureResourceManagerConnection: 'XXXXXXXXXXXXXXX'
subscriptionId: 'XXXXXXXXXXXXXXXX'
resourceGroupName: 'XXXXXXXXXXXXX'
location: 'XXXXXXXX'
csmFile: '$(System.DefaultWorkingDirectory)/arm-template.json'
overrideParameters: '-param1 "$(param_value1)" -param2 "$(param_value1)"'