Closed dparv closed 2 months ago
What I did was set the output of the createUiDefinition to be:
"outputs": { "location": "[location()]", ...
That will set it to the managed resource group, not the resource group that contains the managed application. Then in my mainTemplate, I did this:
... param location string ... module networkBaseDeployment 'modules/networkBaseDeployment.bicep' = { name: 'networkBaseDeployment' scope: az.resourceGroup(resourceGroupName) params: { location: location ///
That will flow the managed resource group to the resource.
This is resolved. This was an issue with the Bicep template.
Full error is:
Attaching the app.zip
app.zip