Open uakharkivponomarov opened 5 months ago
Exactly the same behavior for azurerm_eventgrid_event_subscription
- every terraform plan pollutes activity logs with error messages.
Terraform v1.8.4 on linux_amd64 + provider registry.terraform.io/hashicorp/azurerm v3.114.0
We've just started seeing a similar problem:
azurerm: 3.92.0
Destination type of the event subscription [SubscriptionName] is AzureFunction which doesn't support full URL. Only webhook destination type supports full URL.
Is there an existing issue for this?
Community Note
Terraform Version
0.12.31
AzureRM Provider Version
3.100.0
Affected Resource(s)/Data Source(s)
azurerm_eventgrid_system_topic
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
We no longer encounter the "Get FullUrl of SystemTopic EventSubscription" error in the Azure Activity Log following each infrastructure deployment.
Actual Behaviour
Although we have configured the EventHub as an endpoint for the Event Subscription of our Event Grid System Topic, it still requests a Full URL as if it is a Webhook endpoint.
Steps to Reproduce
terraform apply
Support team helped to investigate the issue. Here is the result: the terraform is trying to perform the following action which is causing the bad request because the Event hub endpoint does not support the action:
Microsoft.EventGrid/systemTopics/eventSubscriptions/getFullUrl/action
Important Factoids
Germany
References
No response