-
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 re applies every time the log_analytics_destination_type property on plan/apply #6676
Comments
@andymac4182 Thank you for letting us know this issue 👍 I have made some local test, for some resources (e.g. So what we can do is:
|
We set it to dedicated because it was still reporting before we added dedicated. We added dedicated thinking that would of helped. Here is the resources I have seen affected.
|
@andymac4182 Thank you for providing the background! |
@andymac4182 That feels like an Azure skew. Currently, the validation in the provider doesn't allow values other than |
@andymac4182 I am going to close this issue as the PR has been merged, you shall address this issue in the next release of the provider. |
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. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Terraform (and AzureRM Provider) Version
Terraform v0.12.24
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/andymac4182/9e5382bbc0450d1a89d6b5022ad56f1a
Expected Behavior
log_analytics_destination_type
is persistedActual Behavior
log_analytics_destination_type
keeps saying its being applied every plan/applySteps to Reproduce
terraform apply
terraform plan
terraform apply
The text was updated successfully, but these errors were encountered: