You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to setup an AZD template that deploys a solution with multiple services, including a service that I want to be deployed only if a specific input parameter to the Azure Bicep is set to 'true'. Such as 'DEPLOY_AML_MODEL' = 'true'. I'm using this to conditionally provision Azure Resources in the 'infra' provisioning. In my case it's an Azure Machine Learning service. I'm using an AZD service to deploy the AML Model, and I'd like to have that model deployment conditional based on if the infra has provisioned the AML service or not.
I'd like to add a 'condition' element to the Service, when evaluated to be 'true' will trigger the deployment, when 'false' it wont deploy the service, like this:
condition: ${DEPLOY_AML_MODEL}
Here's an example of what I'm trying to do when setting up the Azure Machine Learning model deployment within the azure.yaml:
I'm trying to setup an AZD template that deploys a solution with multiple services, including a service that I want to be deployed only if a specific input parameter to the Azure Bicep is set to 'true'. Such as 'DEPLOY_AML_MODEL' = 'true'. I'm using this to conditionally provision Azure Resources in the 'infra' provisioning. In my case it's an Azure Machine Learning service. I'm using an AZD service to deploy the AML Model, and I'd like to have that model deployment conditional based on if the infra has provisioned the AML service or not.
I'd like to add a 'condition' element to the Service, when evaluated to be 'true' will trigger the deployment, when 'false' it wont deploy the service, like this:
Here's an example of what I'm trying to do when setting up the Azure Machine Learning model deployment within the
azure.yaml
:It would be really amazing if
azd
could implement this functionality! Thanks!The text was updated successfully, but these errors were encountered: