-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
azurerm_monitor_diagnostic_setting
allways want to change log_analytics_destination_type
from empty to AzureDiagnostics
starting with 3.40.0
#20140
Comments
azurerm_monitor_diagnostic_setting
allways want to change log_analytics_destination_type
from empty AzureDiagnostics
azurerm_monitor_diagnostic_setting
allways want to change log_analytics_destination_type
from empty to AzureDiagnostics
starting with 3.40.0
Hi there, i face the same issue. This is super annoying because we have many resources with diagnostic settings. +1 for this! |
Don't know if it helps, but I've noticed that keyvault resources happily accept the AzureDiagnostics value. Wasn't expecting that as Microsoft's own documentation in the REST API specifies that the acceptable values are null and Dedicated, but there it is ... |
I have my setting set to "Dedicated" and I'm getting the same issue. It seems that it's not reading that property from the resource at all. |
Same issue here, in terraform the setting is set (logAnalyticsDestinationType) but the Get in Microsoft API Rest return null in this setting for most of the resources, only some of them have this setting applied like API Management. |
@roviracarlos is right, for some resource the The diff caused by |
This is still an issue in 3.42.0 Will still in Terraform Plan or Apply produce a change
|
We also have this problem. Is there an idea when this would be fixed? |
Still an issue with 3.44.1 |
We also have this issue, any news on roadmap? |
Same issue happening for us, using latest, 3.44.1. |
This functionality has been released in v3.45.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Is there an existing issue for this?
Community Note
Terraform Version
1.3.7
AzureRM Provider Version
3.40.0
Affected Resource(s)/Data Source(s)
azurerm_monitor_diagnostic_setting
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
No changes to the
azurerm_monitor_diagnostic_setting
is planedActual Behaviour
In every plan
azurerm_monitor_diagnostic_setting
wants to setlog_analytics_destination_type
again toAzureDiagnostics
.Steps to Reproduce
No response
Important Factoids
This starts with 3.40.0. Is working with 3.39.1
References
No response
The text was updated successfully, but these errors were encountered: