Skip to content

Instantly share code, notes, and snippets.

@xximjasonxx
Created July 4, 2021 01:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xximjasonxx/c81f4c327559d213cf207d30681565db to your computer and use it in GitHub Desktop.
Save xximjasonxx/c81f4c327559d213cf207d30681565db to your computer and use it in GitHub Desktop.
module "private_eventgrid_dns_a_record" {
source = "./modules/networking/dns/a_record"
depends_on = [
module.private_dns,
module.private_storage,
module.eventgrid_topic
]
name = "${module.eventgrid_topic.event_grid_topic_name}.${split(".", module.eventgrid_topic.eventgrid_topic_endpoint)[1]}"
rg_name = azurerm_resource_group.rg.name
zone_name = module.private_eventgrid_dns.zone_name
ip_records = [ module.private_eventgrid.private_ip ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment