mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2025-10-27 15:53:06 +00:00
Update merge_yaml.py
This commit is contained in:
@ -30,6 +30,8 @@ def main():
|
|||||||
yaml1 = yaml.load(f1)
|
yaml1 = yaml.load(f1)
|
||||||
yaml2 = yaml.load(f2)
|
yaml2 = yaml.load(f2)
|
||||||
|
|
||||||
|
merged = deep_merge_yaml(yaml1, yaml2)
|
||||||
|
|
||||||
from io import StringIO
|
from io import StringIO
|
||||||
output = StringIO()
|
output = StringIO()
|
||||||
yaml.dump(merged, output)
|
yaml.dump(merged, output)
|
||||||
|
|||||||
Reference in New Issue
Block a user