Created
July 4, 2021 01:51
-
-
Save xximjasonxx/06a37c2b01aed0c1a7f54bef8d2d404b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "azurerm_eventgrid_topic" "this" { | |
name = "eg-topic-${var.name}jx01" | |
resource_group_name = var.rg_name | |
location = var.rg_location | |
input_schema = "EventGridSchema" | |
public_network_access_enabled = false | |
} | |
output "eventgrid_topic_id" { | |
value = azurerm_eventgrid_topic.this.id | |
} | |
output "event_grid_topic_name" { | |
value = azurerm_eventgrid_topic.this.name | |
} | |
output "eventgrid_topic_endpoint" { | |
value = azurerm_eventgrid_topic.this.endpoint | |
} | |
output "eventgrid_topic_access_key" { | |
value = azurerm_eventgrid_topic.this.primary_access_key | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment