terraform-azurerm-caf icon indicating copy to clipboard operation
terraform-azurerm-caf copied to clipboard

Diagnostic Settings: Allow ingesting of logs & metrics into diagnostic destinations (SA, EVH, LAW) using resource_id

Open nusrath432 opened this issue 2 years ago • 2 comments

Diagnostic Settings: Allow ingesting of logs & metrics into diagnostic destinations (SA, EVH, LAW) using resource_id.

Use case: There maybe a central logging destinations that holds all the logs and metrics but were created outside of CAF. Hence, there is a requirement to refer them using resource_id instead of "{sa, evh, law}_destination_key"

nusrath432 avatar Mar 05 '22 16:03 nusrath432

https://github.com/aztfmod/terraform-azurerm-caf/pull/795 https://github.com/aztfmod/terraform-azurerm-caf/pull/901 https://github.com/aztfmod/terraform-azurerm-caf/pull/708

Above three PRs cover what is needed: @arnaudlh @SergioMiyama - We may just need the documentation highlight this feature. No code change required. Thanks

nusrath432 avatar Mar 08 '22 21:03 nusrath432

Added feature to reference existing Eventhub too @arnaudlh @SergioMiyama :

PR#1047 [https://github.com/aztfmod/terraform-azurerm-caf/pull/1047]

nusrath432 avatar Mar 27 '22 15:03 nusrath432

Closing - covered by 5.5.0 Ref: https://github.com/aztfmod/terraform-azurerm-caf/pull/708

nusrath432 avatar Aug 30 '22 16:08 nusrath432