Skip to content
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

fix: remove defaults on backtrackwindow #547

Conversation

quixoticmonk
Copy link
Contributor

Issue #, if available:

Original issue : hashicorp/terraform-provider-awscc#1805

Description of changes:

  • The change here is to ensure that the default value of BacktrackWindow is removed so that the schema referenced by entities like AWSCC provider from Terraform do not send this for every DB engine. Opening this based on the internal ticket opened with the team and their suggestions.

  • The default behaviour - if BacktrackWindow is missing/null - is for backtrack to be disabled.

  • Setting BacktrackWindow to 0 also disables backtrack.

  • BacktrackWindow can only be specified if the engine version supports the backtrack feature, otherwise you get the "Backtrack is not enabled" error.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@zrfr zrfr force-pushed the fix/rds-cluster-backtrackwindow-defaults branch from 85e48bb to f976515 Compare June 12, 2024 04:05
@zrfr
Copy link
Collaborator

zrfr commented Jun 12, 2024

I've modified the PR to remove only the default (and not the minimum).

@zrfr zrfr added this pull request to the merge queue Jun 18, 2024
Merged via the queue into aws-cloudformation:master with commit 6ccbf69 Jun 18, 2024
2 checks passed
@quixoticmonk quixoticmonk deleted the fix/rds-cluster-backtrackwindow-defaults branch June 30, 2024 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants