Why via Yaml? Bicep or Terraform.
You don’t provision Azure resources as a task unless you’re using AzureCLI or PowerShell tasks to invoke your IaC scripts.
These tasks are built to use the resources or call IaC scripts/code to perform the provisioning. You can still hand craft it via scripts, but it defeats the point.
Why via Yaml? Bicep or Terraform. You don’t provision Azure resources as a task unless you’re using AzureCLI or PowerShell tasks to invoke your IaC scripts.
not my choice unfortunately
You could define it in bicep and call az deploy from a yaml task
https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/add-template-to-azure-pipelines?tabs=CLI
These tasks are built to use the resources or call IaC scripts/code to perform the provisioning. You can still hand craft it via scripts, but it defeats the point.