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

database.rdsinstance: add DBSubnetParameterGroupName to late init #576

Merged
merged 1 commit into from
Mar 5, 2021

Conversation

muvaf
Copy link
Member

@muvaf muvaf commented Mar 4, 2021

Description of your changes

Seems like it wasn't used in late-init because observation object returns an array. It's safe to assign the first value since there is more than value only during a change and that doesn't happen in creation where late-init is used.

Fixes crossplane/crossplane#2187

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Manually tested.

…unction so that isUpToDate works properly.

Signed-off-by: Muvaffak Onus <me@muvaf.com>
@muvaf muvaf requested a review from hasheddan March 4, 2021 18:46
Copy link
Member

@hasheddan hasheddan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this @muvaf! I don't love how you can only supply one parameter group at creation time but the describe DB call gives you a slice back 😞

@muvaf muvaf merged commit 87cee93 into crossplane-contrib:master Mar 5, 2021
@muvaf muvaf deleted the fix-rds-upt branch March 5, 2021 16:56
namku pushed a commit to namku/provider-aws that referenced this pull request Mar 9, 2021
database.rdsinstance: add DBSubnetParameterGroupName to late init
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.

Resource in endless modification loop
2 participants