-
Notifications
You must be signed in to change notification settings - Fork 16
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
deep_copy_list working incorrectly #403
Labels
bug
🐛 An issue with the system
Comments
Can confirm we're also experiencing this, it does appear to have been a change in 1.23 that has caused this. https://github.com/cloudposse/terraform-provider-utils/pull/400/files Looks like atmos updated and maybe the merge package has changed significantly between 1.70 (provider v1.22) and 1.79 (provider v1.23)... maybe this release? https://github.com/cloudposse/atmos/releases/tag/v1.76.0 Just my 2¢. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Bug
Option
deep_copy_list
working incorrectly withutils_deep_merge_yaml
(not checkedutils_deep_merge_json
, but probably same).deep merge configured with :
append_list = false
,deep_copy_list = true
Input of 2 yaml:
Getting as result:
so 2nd Yaml list ignored.
In version 1.23 if
append_list
anddeep_copy_list
both enabled, result as above, in versions below 1.23 result will be as expected, but probably becauseappend_list
in actions.Expected Behavior
Steps to Reproduce
Merge any yaml (even from example) with
utils_deep_merge_yaml
anddeep_copy_list
enabledScreenshots
No response
Environment
OS [Mac M3, Mac Intel, Linux], module version 1.23, 1.22, 1.21, 1.20, 1.19, 1.18
Additional Context
Need to merge complex yaml files, with lists in them, in multiple cases it is required to have merge of lists and ensure we not have duplicates in final outputs, so for that we trying to use
deep_copy_list
, but seems doesn't work.The text was updated successfully, but these errors were encountered: