eventgrid

claranet/eventgrid/azurerm

Terraform Module HCL AZURERM

Terraform module for Azure Eventgrid

Install
module "eventgrid" {
source = "claranet/eventgrid/azurerm"
version = "8.2.1"
}
plain text: /constructs/tfmod-claranet-eventgrid-azurerm/install.txt
⭐ Source on GitHub 📦 Registry page
README

Azure Event Grid ![Changelog](CHANGELOG.md) ![Notice](NOTICE) ![Apache V2 License](LICENSE) ![OpenTofu Registry](https://search.opentofu.org/module/claranet/eventgrid/azurerm/) This Terraform module creates an Azure Event Grid system topic with an Azure Event Grid system topic event subscription and activated Diagnostics Logs. You can create an Azure Event Grid system topic event subscription without Event Grid system topic by using the submodule modules/event-subscription. Global versioning rule for Claranet Azure modules | Module version | Terraform version | OpenTofu version | AzureRM version | | -------------- | ----------------- | ---------------- | --------------- | | >= 8.x.x | Unverified | 1.8.x | >= 4.0 | | >= 7.x.x | 1.3.x | | >= 3.0 | | >= 6.x.x | 1.x | | >= 3.0 | | >= 5.x.x | 0

Inputs (49)
NameTypeDescriptionDefault
location_shortstringShort string for Azure location. required
resource_group_namestringResource Group name. required
locationstringAzure location. required
client_namestringClient name/account used in naming. required
stackstringProject Stack name. required
environmentstringProject environment. required
logs_destinations_idslist(string)List of destination resources IDs for logs diagnostic destination. Can be `Stora required
logs_metrics_categorieslist(string)Metrics categories to send to destinations.null
delivery_propertylist(object({ header_name Option to set custom headers on delivered events.[]
input_schemastringThe input schema for the Event Grid Topic."EventGridSchema"
public_network_access_enabledboolSpecifies whether public network access is enabled for the Event Grid Topic.true
eventgrid_topic_custom_namestringCustom Azure Event Grid Topic name, generated if not set.""
event_subscription_custom_namestringEvent subscription optional custom name.""
storage_blob_dead_letter_destinationobject({ storage_account_iStorage blob container that is the destination of the deadletter events.null
source_resource_idstringID of the Event Grid System Topic ARM Source. Required when eventgrid_type is 'snull
identity_idslist(string)The list of User Assigned Managed Identity IDs used for the Event Grid Topic.[]
inbound_ip_rulelist(object({ ip_mask = stInbound IP rules for the Event Grid Topic.[]
eventgrid_topic_scopestringThe scope for the Event Grid Event Subscription. Can be resource group ID or topnull
eventgrid_dead_letter_identityobject({ type Dead letter identity block for the Event Grid Event Subscription.null
name_suffixstringOptional suffix for the generated name.""
enable_eventgrid_event_subscriptionboolEnable the creation of Event Grid Event Subscription for topic type. Only applietrue
input_mapping_default_valueslist(object({ event_type Input mapping default values for the Event Grid Topic.[]
custom_namestringCustom Azure Event Grid name, generated if not set.""
event_delivery_schemastringSpecifies the event delivery schema for the Event Subscription. Possible values "EventGridSchema"
eventhub_endpoint_idstringID of the Event Hub where the Event subscription will receive events.null
hybrid_connection_endpoint_idstringID of the Hybrid Connection where the Event subscription will receive events.null
advanced_filtering_on_arrays_enabledboolSpecifies whether advanced filters should be evaluated against an array of valuenull
… and 9 more inputs
Outputs (15)
eventgrid_topic_name — Azure Event Grid Topic name.
eventgrid_topic_resource — Azure Event Grid Topic resource object.
eventgrid_topic_primary_access_key — Azure Event Grid Topic primary access key.
resource — Azure Event Grid System Topic resource object.
module_event_subscription — Event Subscription module output.
eventgrid_topic_endpoint — Azure Event Grid Topic endpoint.
eventgrid_topic_secondary_access_key — Azure Event Grid Topic secondary access key.
module_diagnostics_topic — Diagnostics Settings module output.
id — Azure Event Grid System Topic ID.
name — Azure Event Grid System Topic name.
identity_principal_id — Azure Event Grid System Topic identity's principal ID.
metric_arm_resource_id — Azure Event Grid System Topic's metric ARM resource ID.
module_diagnostics_system_topic — Diagnostics Settings module output.
module_eventgrid_event_subscription — Event Grid Event Subscription module output.
eventgrid_topic_id — Azure Event Grid Topic ID.
Resources (2)
azurerm_eventgrid_system_topicazurerm_eventgrid_topic
Details
FrameworkTerraform Module
LanguageHCL
Version8.2.1
Cloud AZURERM
★ Stars5
Forks5
Total downloads31.6k
Inputs49
Outputs15
Resources2
Examples3
Submodules2
LicenseApache-2.0
Namespaceclaranet
Updated