azurerm_mssql_database - make short_term_retention_policy. backup_interval_in_hours computed#27656
Merged
catriona-m merged 6 commits intomainfrom Oct 17, 2024
Merged
azurerm_mssql_database - make short_term_retention_policy. backup_interval_in_hours computed#27656catriona-m merged 6 commits intomainfrom
short_term_retention_policy. backup_interval_in_hours computed#27656catriona-m merged 6 commits intomainfrom
Conversation
short_term_retention_policy. backup_interval_in_hours computed
jackofallops
approved these changes
Oct 17, 2024
Member
jackofallops
left a comment
There was a problem hiding this comment.
Thanks @catriona-m - LGTM 👍
catriona-m
added a commit
that referenced
this pull request
Oct 17, 2024
Contributor
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Community Note
Description
Fixes a bug in
azurerm_mssql_databaseduring update where it attempts to setshort_term_retention_policy. backup_interval_in_hoursto a default of 12, which is not applicable when an elastic pool with HS sku is used. This PR makesshort_term_retention_policy. backup_interval_in_hourscomputed and sets the default of12in the code instead to work around this.PR Checklist
For example: “
resource_name_here- description of change e.g. adding propertynew_property_name_here”Changes to existing Resource / Data Source
Testing
Running tests in TC
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_mssql_database- can now be updated when using hypserscale elastic_pool skusThis is a (please select all that apply):
Related Issue(s)
Fixes #0000
Note
If this PR changes meaningfully during the course of review please update the title and description as required.