-
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
- fix update issue
#20048
azurerm_monitor_diagnostic_setting
- fix update issue
#20048
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @teowa
Thanks for this. I think it looks mostly good, but I think there's opportunity for a a couple changes that will help users of this resource. I've left some comments below to take a look at.
Thanks!
internal/services/monitor/monitor_diagnostic_setting_resource.go
Outdated
Show resolved
Hide resolved
internal/services/monitor/monitor_diagnostic_setting_resource.go
Outdated
Show resolved
Hide resolved
internal/services/monitor/monitor_diagnostic_setting_resource.go
Outdated
Show resolved
Hide resolved
Thanks @jackofallops for reviewing, I have changed the code, please kindly take another look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ⛰️
This functionality has been released in v3.40.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! |
nvm, there was already an issue #20140 |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Resolves #20019
log_analytics_destination_type
default value toAzureDiagnostics
because of service API behaviour changehasEnabledLog
logic and correctly set log in API payload when nolog
block orenabled_log
block has change during resource update. Solve theat least one type of Log or Metric must be enabled
error.