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

Issue with azurerm_eventgrid_event_subscription / API Version 2022-06-15 #1049

Open
1 task done
chatlabashev opened this issue Jul 15, 2024 · 0 comments
Open
1 task done

Comments

@chatlabashev
Copy link
Contributor

chatlabashev commented Jul 15, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Service Used

azurerm_eventgrid_event_subscription

API Versions Used

2022-06-15

Description

When trying to create a new azurerm_eventgrid_event_subscription with a manual webhook with manual webhook validation, Terraform is failing after around on minute with the following error :

polling after CreateOrUpdate: result.Status was nil/empty - op.Status was "AwaitingManualAction" / op.Properties.ProvisioningState was ""

While the webhook has a 10 minute validation timeout for manual validation.

TF code used for testing:

resource "azurerm_eventgrid_event_subscription" "eventgrid_event_pre_subscription" {
scope = azurerm_maintenance_configuration.maintenance_config.id
name = "${azurerm_maintenance_configuration.maintenance_config.name}-pre"
included_event_types = ["Microsoft.Maintenance.PreMaintenanceEvent"]
webhook_endpoint {
url = "https://eoacqvca9pmb9ks.m.pipedream.net"
max_events_per_batch = 1
preferred_batch_size_in_kilobytes = 64
}
labels = []
retry_policy {
event_time_to_live = 1440
max_delivery_attempts = 3
}
}

hashicorp/azurerm provider version: 3.100.0

From what I understand so far it seems AwaitingManualAction needs to be added in here:

var longRunningOperationCustomStatuses = map[status]pollers.PollingStatus{

References

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant