-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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_mssql_database
- error when secondary database uses max_size_gb
#11401
azurerm_mssql_database
- error when secondary database uses max_size_gb
#11401
Conversation
cf6fde5
to
8b4087d
Compare
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.
Hey @aristosvo! Can we confirm this fix through a test? We want to make sure that this change is broken in the current version of the provider and that it'll be fixed in the next version of the provider.
Sure! I had a hard time reproducing the issue in the first place, but I'll try!! Update: Done!
|
32eae84
to
a329cd4
Compare
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! Thanks for getting this written out into a test!
mssql_database
Update documentation and print warning for secondary db with max_size_gb
azurerm_mssql_database
- error when secondary database uses max_size_gb
This has been released in version 2.57.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 = "~> 2.57.0"
}
# ... other configuration ... |
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. |
@katbyte I introduced a bug in #11286 :(
Because
max_size_gb
isComputed
,GetOk("max_size_gb")
is not empty in a second run. I addedHasChange("max_size_gb")
as an extra check before I throw an error to fix it.