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

Revert upjet changes around calculating instance diff in 0.47 #1104

Closed

Conversation

mbbush
Copy link
Collaborator

@mbbush mbbush commented Jan 22, 2024

Description of your changes

This rolls back the upjet version in the provider-aws release-0.47 branch to resolve errors thrown when calculating instance diffs.

Somewhere in crossplane/upjet#317, crossplane/upjet#319 and/or crossplane/upjet#324 there was a change introduced in upjet related to calculating terraform instance diffs, that was included in provider-aws 0.47.0, and which seems to be the cause of errors relating to nil/zero values on several different resources.

Unfortunately, a linear revert to an earlier commit in the main branch on upjet won't work, because there was a forwards-incompatible schema change that would be a breaking change to revert (and is unrelated to this issue).

I opened crossplane/upjet#333, to roll back upjet to that commit, and then built this off of that revision.

Fixes #1071

I have:

  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Uptest

@mbbush
Copy link
Collaborator Author

mbbush commented Jan 22, 2024

/test-examples="examples/elasticache/replicationgroup.yaml"

@mbbush
Copy link
Collaborator Author

mbbush commented Jan 23, 2024

/test-examples="examples/elasticache/replicationgroup.yaml"

@mbbush mbbush marked this pull request as ready for review January 24, 2024 01:43
@mbbush
Copy link
Collaborator Author

mbbush commented Jan 29, 2024

@erhancagirici @turkenf Is this something that you think we can get addressed for the next release? I'd really like to either fix it in 0.47 with a patch release or confirm the replicationgroup is working in 0.48 (or whatever the next release is going to be)

@erhancagirici
Copy link
Collaborator

@mbbush crossplane/upjet#337 addressed the root cause, and #1086 consumed the upjet fix. These will be available at v0.48.0.

@mbbush
Copy link
Collaborator Author

mbbush commented Feb 1, 2024

Thanks @erhancagirici, that's great news!

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