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 Grid subscription with Service Bus Queue endpoint type #4308

Closed
Bnjmn83 opened this issue Sep 12, 2019 · 4 comments · Fixed by #6860
Closed

Event Grid subscription with Service Bus Queue endpoint type #4308

Bnjmn83 opened this issue Sep 12, 2019 · 4 comments · Fixed by #6860

Comments

@Bnjmn83
Copy link

Bnjmn83 commented Sep 12, 2019

At the moment there is no Endpoint type Service Bus Queue for Event Grid subscriptions. Any plans to implement this in the near future? What is the alternative? Using azurerm_template_deployment instead?

@timmyreilly
Copy link

timmyreilly commented Oct 16, 2019

In the meantime, I've created an "azurerm_template_deployment" resource that you can use like a module: https://gist.github.com/timmyreilly/d474436b4e2a604368f2a0612aa897d1

The Event Grid 'events' off a Storage Account and sends the messages to a Service Bus Queue.

However, the HashiCorp doc on azurerm_template_deployment resources warns us that resources created are with azurerm_template_deployment are left behind on delete and require separate clean up. BUT, because eventgrid resources are connected to the actual resources it looks like it goes away with a terraform destroy so that's cool.

@LeBen2016
Copy link

Any updates on this one? Would be awesome to have this.

katbyte pushed a commit that referenced this issue May 24, 2020
Updates/extends resource azurerm_eventgrid_event_subscription

Additions to resource azurerm_eventgrid_event_subscription:

service_bus_queue_endpoint
service_bus_topic_endpoint
expiration_time_utc
Fixes #4308
Fixes #4857
@katbyte katbyte added this to the v2.12.0 milestone May 24, 2020
@ghost
Copy link

ghost commented May 28, 2020

This has been released in version 2.12.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:

provider "azurerm" {
    version = "~> 2.12.0"
}
# ... other configuration ...

pbrit pushed a commit to pbrit/terraform-provider-azurerm that referenced this issue May 31, 2020
Updates/extends resource azurerm_eventgrid_event_subscription

Additions to resource azurerm_eventgrid_event_subscription:

service_bus_queue_endpoint
service_bus_topic_endpoint
expiration_time_utc
Fixes hashicorp#4308
Fixes hashicorp#4857
@ghost
Copy link

ghost commented Jun 24, 2020

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.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Jun 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.