-
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
Azure SQL Database - read_scale always set to false during initial creation #4196
Comments
Hi @stefan-rapp , I tried things locally and wanna share my findings. Hope it could help you and clarify the next follow ups to unblock you.
As a summary, there are two follow ups as described from the above. I can regard them in my feature backlog. Hope the above help clarify. |
Hi @mybayern1974, First, thank you for your reply and the helpful information. :-)
So that does not solve my problem. The module I implemented for Azure SQL DBs, creates several DBs with different Azure SQL Editions. As you mentioned in the Azure Documentation for the parameter “ “ To explicitly set the “ THX |
@stefan-rapp , I would work on this "secondary_replica_count" feature aiming at the next release. Please stay tuned. |
@stefan-rapp , I'd like to share with you some staged updates:
|
Looking at the provider code, |
@stefan-rapp , assume the issue has been fixed. Please expect it comes into being in v1.36.0 |
This has been released in version 1.36.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 1.36.0"
}
# ... other configuration ... |
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 👉 [email protected]. Thanks! |
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.12.7
Affected Resource(s)
azurerm_sql_database
Terraform Configuration Files
Debug Output
~ read_scale = true -> false
Expected Behavior
Azure SQL Database should be created the the 'read scale' of 0, like the following screenshot illustrates. As the
read_scale
parameter is set tofalse
explicitly.Actual Behavior
Even if I set the parameter "
read_scale
" to 'false
' explicitly, the Azure SQL Database will be created with the value 'true
' as the following screenshot illustrates.If I set the
read_scale
back to 0 in the Azure Portal manually, no changes occur and the code works fine. Seems like there is a problem with theread_scale
parameter on initial creation of a SQL Database.Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: