Use this data source to access information about an existing EventGrid Domain Topic
data "azurerm_eventgrid_domain_topic" "example" {
name = "my-eventgrid-domain-topic"
resource_group_name = "example-resources"
}
The following arguments are supported:
name
- The name of the EventGrid Domain Topic resource.
domain_name
- The name of the EventGrid Domain Topic domain.
resource_group_name
- The name of the resource group in which the EventGrid Domain Topic exists.
The following attributes are exported:
id
- The EventGrid Domain Topic ID.
domain_name
- The EventGrid Domain Topic Domain name.
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the EventGrid Domain Topic.