-
Notifications
You must be signed in to change notification settings - Fork 232
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 issue #710 #711
Fix issue #710 #711
Conversation
Compare resource attribute values more reliable. Use Equal method from Set even if Set is not on the top of the tree.
Is there anything I can do to help get this merged/released? It'd be great as the solve for hashicorp/terraform-provider-aws#13658. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this, @oliver-schoenherr 🚀 I'm going to pull this in, after double checking it against terraform-provider-corner, with the two testing adjustments noted below.
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Currently the
hasChanged
function does not take in consideration that the special case comparing aSet
can happen on any level of the tree, not only on the top.Instead of copy the
reflect.DeepEqual
function I just use thego-cmp
library, which is already used in the code base, but for testing purpose only.