-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Error: in event_hub_receiver, exactly one of event_hub_id or (event_hub_namespace, event_hub_name) must be set #20146
Comments
We consistently get this issue as soon as we change something to an
The bug seems to be related to the following change: https://github.com/hashicorp/terraform-provider-azurerm/pull/17335/files In the terraform-provider-azurerm/internal/services/monitor/monitor_action_group_resource.go Lines 1106 to 1108 in a478a88
But the terraform-provider-azurerm/internal/services/monitor/monitor_action_group_resource.go Lines 851 to 860 in a478a88
At a first glance it seems that adding the @teowa I am not sure if you remember the change. If you do, I would appreciate your thoughts on the above. |
Hi @mpjtaylor @nlighten, thanks for raising this, I have sent PR to fix this issue. |
any work around in the mean time ? |
Delete it and let it be recreated. |
This functionality has been released in v3.56.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Is there an existing issue for this?
Community Note
Terraform Version
1.2.7
AzureRM Provider Version
3.35.0
Affected Resource(s)/Data Source(s)
azurerm_monitor_action_group
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Plan and apply should not change anything nor fail this seems to be random issue, sometimes i need to delete the azurerm_monitor_action_group in the portal and then let it recreate.
Actual Behaviour
Error: in event_hub_receiver, exactly one of event_hub_id or (event_hub_namespace, event_hub_name) must be set
Steps to Reproduce
terraform plan
terraform apply
terraform plan
terraform apply
Important Factoids
No response
References
#18322
The text was updated successfully, but these errors were encountered: