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 diff state not being set to freshly observed state for non-existing resources #334

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

erhancagirici
Copy link
Collaborator

Description of your changes

Fixes diff state not being set to freshly observed (nil) state for non-existing resources.
This causes reconstructed prior state being used at diff that causes parsing issues for fields with validations.

Will fix crossplane-contrib/provider-upjet-aws#1071, after consumed at provider-aws

I have:

  • Read and followed Upjet's [contribution process].
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Consumed at a local provider-aws build and tested with manifests specified in crossplane-contrib/provider-upjet-aws#1071 and issue is not observed.

@ulucinar ulucinar marked this pull request as ready for review January 31, 2024 14:17
Copy link
Collaborator

@ulucinar ulucinar left a comment

Choose a reason for hiding this comment

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

Thanks @erhancagirici, lgtm. Please also record the root cause analysis we've done for the ReplicaGroup.elasticache engine_version issue.

@ulucinar ulucinar merged commit 0e52e5d into crossplane:main Jan 31, 2024
7 checks passed
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.

Elasticache ReplicationGroup fails when engineVersion is provided
2 participants