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

reverse the order the parameter diff #14099

Closed
wants to merge 2 commits into from
Closed

reverse the order the parameter diff #14099

wants to merge 2 commits into from

Conversation

wburn-sierra-cedar
Copy link

@wburn-sierra-cedar wburn-sierra-cedar commented Jul 8, 2020

do the compare with aws and current first to remove deleted params
then compare with current and aws to modify params

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates to #5728

Release note for CHANGELOG:

Reversed the order of the diffs for how db parameters are updated.  The current order leaves a state where if parameters are updated and deleted in the same apply, updated params get the current aws value as opposed to the modified value.  This persists in state and the only fix is to delete the parameter group.  Changing the order of the sequence fixes this bug.

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX'

...

do the compare with aws and current  first to remove deleted params
then compare with current and aws to modify  params
@wburn-sierra-cedar wburn-sierra-cedar requested a review from a team July 8, 2020 21:02
@ghost ghost added size/S Managed by automation to categorize the size of a PR. service/rds Issues and PRs that pertain to the rds service. needs-triage Waiting for first response or review from a maintainer. labels Jul 8, 2020
@bflad bflad added bug Addresses a defect in current functionality. and removed needs-triage Waiting for first response or review from a maintainer. labels Jul 9, 2020
@bflad
Copy link
Contributor

bflad commented Aug 25, 2020

Hi @wburn-sierra-cedar 👋 Thank you for this contribution. It appears the earlier #12112 was recently merged and released which seems to cover this functionality, so I'm going to close this. Please reach out if that is not the case here. 👍

@bflad bflad closed this Aug 25, 2020
@ghost
Copy link

ghost commented Sep 24, 2020

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. Thanks!

@ghost ghost locked and limited conversation to collaborators Sep 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/rds Issues and PRs that pertain to the rds service. size/S Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants