Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event Hub Disaster Recovery Config deployment 2024-01-01 version fails #2219

Open
GuillaumeVadeBe opened this issue Jun 27, 2024 · 1 comment

Comments

@GuillaumeVadeBe
Copy link

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:

No HTTP resource was found that matches the request URI 'https://westeurope-arm-dr.messaging.azure.net:10443/subscriptions/SUBSCRIPTIONID/resourcegroups/RESOURCEGROUPNAME/providers/Microsoft.EventHub/namespaces/PRIMARYEVENTHUBNAMESPACE/disasterRecoveryConfigs/PRIMARYEVENTHUBNAMESPACE?api-version=2024-01-01'.

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).

@stephaniezyen
Copy link
Contributor

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

@stephaniezyen stephaniezyen transferred this issue from Azure/bicep Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants