I have an existing Azure DevOps release pipeline that deploys resources using Azure CLI to multiple environments DEV, TEST, PROD.
I'd like to switch gradually to using Bicep files.
Microsoft's Quickstart: Integrate Bicep with Azure Pipelines shows how to build a build pipeline using an inline CLI scipt, but I wasn't able to find help on how to setup a bicep task in a release pipeline.
There are no official bicep tasks for release pipelines like there are for ARM files.
Do I need to use a Azure CLI script task type to run something like
az deployment group create --resource-group $(resourceGroupName) --template-file $(templateFile) --parameters "{ \"someparameter1\": { \"value\": \"$(someparameter1)\" } }"
?
Az CLI
task. – Thomas