-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
terraform plan show state change without code change #7215
Comments
@CharmanderJieniJieni Thank you for opening this issue 👍 |
Thanks @magodo , I added those two into variable file and no longer see that issue, however, when I run terraform plan I am still seeing below change
Even through I already set 'use_server_default' to 'enabled' to begin with. Is there a reason for that? |
@CharmanderJieniJieni What is the current config for the Would you please provide the detailed step to reproduce this? |
@magodo yes, if you do a terraform apply to deploy the resource, then do a terraform plan without any changes, it will show |
I checked in the state file, basically even we set |
This seems to be an API issue, I have submitted an issue Azure/azure-rest-api-specs#9762 to track that. I suggest you to either leave |
Has anyone been able to make communication to Microsoft about the upstream bug? We're running into this issue as well. |
Any updates on this? Still occurring in AzureRM 2.39. ~ threat_detection_policy { ...
~ use_server_default = "Disabled" -> "Enabled"
} |
Related, duplicate #4556 ? |
Thanks for opening this issue! Since this issue has been reported a long time ago and relates to an older version of provider - I'm going to close it. If this is still relevant and occurring on the latest version of terraform and provider please do open a new issue! |
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. |
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.12.26
Affected Resource(s)
azurerm_sql_database
azurerm_sql_database
Terraform Configuration Files
see code here
Debug Output
log {
- category = "AutomaticTuning" -> null
- enabled = true -> null
Panic Output
Expected Behavior
nothing should be changed
Actual Behavior
everytime we trigger terraform plan, the output shows up which indicates there is going to be listed changes, even there is no code change at all
Steps to Reproduce
terraform plan
Important Factoids
References
The text was updated successfully, but these errors were encountered: