It is possible that will work with Functions apps for Event hubs ? I can't create it through terraform code
@azure-terraformer Жыл бұрын
Yes you can! It’s done with the same terraform resource but using different categories!
@praveenkumar-rn4ec8 ай бұрын
Hello Sir, I am new to terraform scripting and I need to configure diagnostic settings for Event Hubs which was in other subscription. Terraform sample code is expecting something called "eventhub_authorization_rule_id". Any psudo code to configure this value.
@RodStewart_Geek Жыл бұрын
Could you have used a Moved block to prevent the deletion / re-creation?
@azure-terraformer Жыл бұрын
Great idea! I’ll have to spend more time with that one!
@sharatbhaskar8001 Жыл бұрын
How can we enable if else condition between the two dynamic blocks? If we have a requirement to use either logs or metrics?
@azure-terraformer Жыл бұрын
Sure I could show you how to do that.
@ronzhong Жыл бұрын
Hi Sir, Great learnings from your videos. I'm quite new to Terraform still coming from dev background. As you also mentioned, when we refactor the template with modules, the resources will be recreated due to the changed path in terraform state. => Is there anyway we can prevent the resources being recreated? Like would you recommend to edit state file? :)
@azure-terraformer Жыл бұрын
There are a couple of ways to do this. Probably the safest way is to use the "moved" block. But it can be tricky.