Support DependsOn
This commit is contained in:
parent
6defee322c
commit
621a4dd9ca
3
merge.py
3
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user