diff options
author | Clint Byrum <clint@fewbar.com> | 2013-05-14 11:02:51 -0700 |
---|---|---|
committer | Clint Byrum <clint@fewbar.com> | 2013-06-06 09:25:27 -0700 |
commit | 621a4dd9ca7029d1cc3bf46aa595f94d659479d5 (patch) | |
tree | b9171134d4cb6d7b458cd5464e6ae3723f249923 | |
parent | 6defee322c98894b3229b2f32ef1f1e1695e77c1 (diff) |
Support DependsOn
-rw-r--r-- | merge.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |