-
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_mssql_database
- support 100MB
and 500MB
for max_size_gb
#28334
base: main
Are you sure you want to change the base?
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.
Thanks for submitting this @sinbai - I just left one comment around the testing for this, but once that is addressed I can take another look. Thanks!
@@ -96,7 +125,7 @@ func TestAccMsSqlDatabase_complete(t *testing.T) { | |||
check.That(data.ResourceName).Key("tags.ENV").HasValue("Test"), | |||
), | |||
}, | |||
data.ImportStep("sample_name"), | |||
data.ImportStep("sample_name", "max_size_gb"), |
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.
we shouldn't be adding max_size_gb
to data.ImportStep on any of the tests - could you have another look at this change to get these passing without the need for this?
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 @catriona-m thanks for your time and feedback. Adding max_size_gb
to data.ImportStep is because the following reason. Could you please give any other suggestions for this situation?
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.
these tests are currently passing in main so we need to investigate why this change would be causing a different value to be returned
Community Note
Description
Support
100MB
and500MB
formax_size_gb
PR Checklist
For example: “
resource_name_here
- description of change e.g. adding propertynew_property_name_here
”Changes to existing Resource / Data Source
Testing
PASS: TestAccMsSqlDatabase_maxSizeGB (912.62s)
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_mssql_database
- support100MB
and500MB
formax_size_gb
[azurerm_mssql_database max_size_gb doesn't allow 100MB or 500MB values #28289]This is a (please select all that apply):
Related Issue(s)
Fixes #28289
Note
If this PR changes meaningfully during the course of review please update the title and description as required.