aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--merge.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/merge.py b/merge.py
index 7805b640..b1443f29 100644
--- a/merge.py
+++ b/merge.py
@@ -77,6 +77,9 @@ def fix_ref(item, old, new):
if k == 'Ref' and v == old:
item[k] = new
continue
+ if k == 'DependsOn' and v == old:
+ item[k] = new
+ continue
if k == 'Fn::GetAtt' and isinstance(v, list) and v[0] == old:
new_list = list(v)
new_list[0] = new