Update deprecated retention properties due to the migration from diagnostic settings storage retention to Azure Storage lifecycle management
All Submissions:
- [YES] Have you added an explanation of what your changes do and why you'd like us to include them?
- [NO] I have updated the documentation accordingly.
- [YES] My code follows the code style of this project.
Current Behavior or Linked Issues
According to this document - Migrate from diagnostic settings storage retention to Azure Storage lifecycle management:
the Diagnostic Settings Storage Retention feature is being deprecated.
So, we need to change the value of the variable "log_retention_days" to "0" to avoid issue with deploying azurerm_monitor_diagnostic_setting with terraform:
Github issue: https://github.com/hashicorp/terraform-provider-azurerm/issues/23051
Does this introduce a breaking change?
- [NO]
Other information
Before (issue):
No issue on TF apply stage
Edited by Oleksandr Stetskiv-SLB