Open eermen opened 9 months ago
i have the same issue
I'm experiencing the same issue
Did anyone managed to resolve this?
Did anyone managed to resolve this?
The workaround for us is to install the version 0.24.24
Is there an estimate when this will be fixed?
I can now confirm that version 0.24.24 works. Thank you.
A workaround with the latest version of Bicep is to use the any
function:
gateway: any({
name: fileshareConnection.odgw.name
id: resourceId(fileshareConnection.odgw.resourceGroup, 'Microsoft.Web/connectionGateways', fileshareConnection.odgw.name)
type: 'Microsoft.Web/connectionGateways'
})
The root cause is that the API has been incorrectly defined in swagger by the RP - note that parameterValues
has been defined as a dictionary with values of type "string": https://github.com/Azure/azure-rest-api-specs/blob/99686ad45c380cf8fbcf7811db9c984a0e9d6639/specification/web/resource-manager/Microsoft.Web/stable/2016-06-01/logicAppsManagementClient.json#L1877-L1897
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/azure-logicapps-team. Please see https://aka.ms/biceptypesinfo for troubleshooting help.
Bicep version Since v0.25.3
Describe the bug We're getting the error:
Error BCP036: The property "gateway" expected a value of type "string" but the provided value is of type "object"
For the following resource and other similar resources:
To Reproduce Steps to reproduce the behavior:
Additional context With version v0.24.24 we don't have this error