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

Support for Event Grid System Topic Subscription #9141

Closed
sharebear opened this issue Nov 3, 2020 · 2 comments · Fixed by #9852
Closed

Support for Event Grid System Topic Subscription #9141

sharebear opened this issue Nov 3, 2020 · 2 comments · Fixed by #9852

Comments

@sharebear
Copy link
Contributor

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

Description

azurerm_eventgrid_system_topic was recently added, however a companion resource to configure a subscription to the topic appears to be missing. This appears to be present in the sdk via the SystemTopicEventSubscriptionsClient

New or Affected Resource(s)

  • azurerm_eventgrid_system_topic_subscription

Potential Terraform Configuration

resource "azurerm_eventgrid_system_topic" "example" {
  name                   = "example-topic"
  resource_group_name    = azurerm_resource_group.example.name
  location               = azurerm_resource_group.example.location
  source_arm_resource_id = azurerm_storage_account.example.id
  topic_type             = "Microsoft.Storage.StorageAccounts"
}

resource "azurerm_eventgrid_system_topic_subscription" "example" {
  name                   = "example-subscription"
  resource_group_name    = azurerm_resource_group.example.name
  system_topic_name = azurerm_eventgrid_system_topic.example.name

  # Similar destination / retry config to azurerm_eventgrid_event_subscription

}

References

@ghost
Copy link

ghost commented Dec 17, 2020

This has been released in version 2.41.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.41.0"
}
# ... other configuration ...

@ghost
Copy link

ghost commented Jan 16, 2021

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 as resolved and limited conversation to collaborators Jan 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants