I'm trying to deploy two event hub namespaces with a disaster recovery config. Both event hubs are being successfully deployed with the latest API version (2024-01-01). When deploying the disaster recovery config with the same API version, it fails with the following error:
Note that when changing the disaster recovery config deployment to version 2023-01-01-preview it works again.
To Reproduce
Deploy a primary event hub namespace with the latest API version (2024-01-01)
Deploy a secondary event hub namespace with the latest API version (2024-01-01)
Deploy a disaster recovery config with the latest API version (2024-01-01)
Additional context
We want to use the 2024-01-01 version for our event hub deployment because the failover to the secondary namespace is being done with the Azure.ResourceManager.EventHubs nuget package (version 1.1.0) which uses by default the latest API version (2024-01-01).
Please open a support ticket with the Event Hub Resource Provider team to fix this issue, as unfortunately this is not a Bicep issue. In the meantime, we will try to route it to the correct team
Bicep version
0.28.1
Describe the bug
I'm trying to deploy two event hub namespaces with a disaster recovery config. Both event hubs are being successfully deployed with the latest API version (
2024-01-01
). When deploying the disaster recovery config with the same API version, it fails with the following error:Note that when changing the disaster recovery config deployment to version
2023-01-01-preview
it works again.To Reproduce
2024-01-01
)2024-01-01
)2024-01-01
)Additional context
We want to use the
2024-01-01
version for our event hub deployment because the failover to the secondary namespace is being done with theAzure.ResourceManager.EventHubs
nuget package (version1.1.0
) which uses by default the latest API version (2024-01-01
).