Describe the bug
When creating a service bus private endpoint the following behaviors are observed:
First, the name field is not respected. This means that the deployment will fail, with the resource being unable to find itself, even though the private endpoint is created.
{
"status": "Failed",
"error": {
"code": "NotFound",
"message": "The requested resource bus-endpoint-connection does not exist. CorrelationId: <...>"
}
}
To Reproduce
Simply add a private endpoint connection to a service bus resource.
Additional context
The failure above reproduces with both the parent attribute (as shown) and with the full name i.e. name: '${serviceBus.name}\bus-connection'
Bicep version 0.9.1
Describe the bug When creating a service bus private endpoint the following behaviors are observed:
First, the name field is not respected. This means that the deployment will fail, with the resource being unable to find itself, even though the private endpoint is created.
Results in the following failure:
To Reproduce Simply add a private endpoint connection to a service bus resource.
Additional context The failure above reproduces with both the parent attribute (as shown) and with the full name i.e. name: '${serviceBus.name}\bus-connection'