summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClint Byrum <clint@fewbar.com>2013-05-14 11:02:51 -0700
committerClint Byrum <clint@fewbar.com>2013-06-06 09:25:27 -0700
commit621a4dd9ca7029d1cc3bf46aa595f94d659479d5 (patch)
treeb9171134d4cb6d7b458cd5464e6ae3723f249923
parent6defee322c98894b3229b2f32ef1f1e1695e77c1 (diff)
Support DependsOn
-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