resource "azurerm_eventgrid_system_topic" "eventgrid_system_topic" { name = var.name resource_group_name = var.rg_name location = var.location tags = var.tags source_arm_resource_id = var.source_arm_resource_id topic_type = var.topic_type dynamic "identity" { for_each = length(var.identity_ids) == 0 && var.identity_type == "SystemAssigned" ? [var.identity_type] : [] content { type = var.identity_type } } dynamic "identity" { for_each = length(var.identity_ids) > 0 || var.identity_type == "UserAssigned" ? [var.identity_type] : [] content { type = var.identity_type identity_ids = length(var.identity_ids) > 0 ? var.identity_ids : [] } } }No requirements.
| Name | Version |
|---|---|
| azurerm | n/a |
No modules.
| Name | Type |
|---|---|
| azurerm_eventgrid_system_topic.eventgrid_system_topic | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| identity_ids | Specifies a list of user managed identity ids to be assigned to the VM. | list(string) | [] | no |
| identity_type | The Managed Service Identity Type of this Virtual Machine. | string | "" | no |
| location | The location for this resource to be put in | string | n/a | yes |
| name | The name of the event grid | string | n/a | yes |
| rg_name | The name of the resource group, this module does not create a resource group, it is expecting the value of a resource group already exists | string | n/a | yes |
| source_arm_resource_id | The name of the Resource Group where the Event Grid System Topic should exist, e.g. the resource ID its supposed to check | string | n/a | yes |
| tags | A map of the tags to use on the resources that are deployed with this module. | map(string) | n/a | yes |
| topic_type | The topic type which the event grid is looking at events for | string | n/a | yes |
| Name | Description |
|---|---|
| event_grid_principal_id | Client ID of system assigned managed identity if created |
| eventgrid_id | Event Grid ID |
| eventgrid_identity | The Event grid identity block |
| eventgrid_name | Event Grid name |
| metric_arm_resource_id | The Event grid metric arm resource id |
| source_arm_metric_id | The Event grid source arm metric id |