From 621a4dd9ca7029d1cc3bf46aa595f94d659479d5 Mon Sep 17 00:00:00 2001 From: Clint Byrum Date: Tue, 14 May 2013 11:02:51 -0700 Subject: [PATCH] Support DependsOn --- merge.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/merge.py b/merge.py index 7805b6407b..b1443f2962 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