In this video, we cover Data sources in Terraform and how we can use them to reference resources defined either outside of Terraform or in other Terraform configuration files in our Terraform files.
We also talk about Diagnostic Logs in Azure are and how we can configure Diagnostic logs in our Azure Cosmos DB account to be sent to a Log Analytics workspace.
If you have any questions, comment below or reach out to me via Twitter: Twitter: / willvelida
Resources:
Data Sources in Terraform: https://www.terraform.io/docs/languag...
Log Analytics (Terraform Docs): https://registry.terraform.io/provide...
Diagnostic Logs (Terraform Docs): https://registry.terraform.io/provide...
Monitor Azure Cosmos DB data by using diagnostic settings in Azure: https://docs.microsoft.com/en-us/azur...
GitHub code: https://github.com/willvelida/azureco...