Can't customize Azure ProvisioningBuildOptions on AzureContainerApp resources #6496
Labels
area-integrations
Issues pertaining to Aspire Integrations packages
azure
Issues associated specifically with scenarios tied to using Azure
Milestone
When users need to configure their bicep, one way to do it across all resources is to configure the
AzureProvisioningOptions
and tweak theProvisioningBuildOptions
to provideInfrastructureResolvers
.Configuring these options when using
PublishAsAzureContainerApp
isn't working because the following code isn't setting theProvisioningBuildOptions
on theAzureProvisioningResource
.aspire/src/Aspire.Hosting.Azure.AppContainers/AzureContainerAppsInfrastructure.cs
Lines 82 to 86 in 4febb16
Repro Steps
Publish the manifest/bicep for the following:
Expected results
The
MyResourceNamePropertyResolver
should have been used to give theapi
ContainerApp an Azure name of"myContainerAppName"
.Actual results
The
MyResourceNamePropertyResolver
is not used and instead it gets:The text was updated successfully, but these errors were encountered: