Skip to content

Architech-ETC/terraform-azurerm-event-grid-topic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-azurerm-event-grid-topic

Create an event grid topic in Azure

Module to create an Azure event grid topic.

Module details

Requirements

Name Version
terraform >= 1.0.5
azurerm ~> 2.0

Providers

Name Version
azurerm ~> 2.0

Modules

No modules.

Resources

Name Type
azurerm_eventgrid_topic.event-grid-topic resource

Inputs

Name Description Type Default Required
event_grid_topic Event Grid topic input values including name, input_schema, public network access list(object) n/a yes
location The Azure Region where the event grid topic should exist. Changing this forces a new resource to be create string n/a yes
environment Specifies the environment of the event grid string n/a no
tags A mapping of tags which should be assigned to the event grid topic map(string) {} no
Name Description
id name, id, topic endpoint and primary, secondary access key

|

Usage example

Basic

module "event-grid-topic" {
  source  = "app.terraform.io/Architech-ETC/event-grid-topic/azurerm"
  version = "1.0.0"
  
  event_grid_topics = [{
    name                          = "eventgridtopic-etc-dev",
    input_schema                  = "EventgridSchema"
    public_network_access_enabled = true,
    tags                          = {
        environment = "dev"
    }
  }]

  resource_group_name = "etc"
  environment         = "dev"
  location            = "uksouth"
}