我一直在Terraform中努力在Azure事件网格中创建事件订阅
每个屏幕截图......
EVENT SUBSCRIPTION DETAILS
NAME : EventGrid-Sub1
(don't need to change Event Schema)
TOPIC DETAILS
Event Grid Domain
Topic Resource: EDG-SBX-EventGrid1
Domain Type: EventGrid-DomainTopic1
ENDPOINT DETAILS
Endpoint Type: Event Hubs
Endpoint : eh-sbx-Ingestion
我一直在使用这些作为参考,但似乎不仅有点像鸡蛋和鸡蛋,而且缺少碎片?
https://www.terraform.io/docs/providers/azurerm/r/eventgrid_event_subscription.html https://www.terraform.io/docs/providers/azurerm/r/eventgrid_topic.html
有人在Terraform中工作吗?
预先感谢
Azure Screenshot on Event Grids / Create Event Subscription screen
答案 0 :(得分:0)
@ nmca70有几种方法可以实现此目的:
https://www.terraform.io/docs/providers/azurerm/r/template_deployment.html
示例:
fixed=TRUE
希望这会有所帮助!