spec/spec_helper.rb in kumogata-0.3.2 vs spec/spec_helper.rb in kumogata-0.3.3
- old
+ new
@@ -78,10 +78,10 @@
return template
end
def update_deletion_policy(template)
template['Resources'].each do |k, v|
- v['DeletionPolicy'] = 'Retain'
+ v['DeletionPolicy'] ||= 'Retain'
end
end
def add_encryption_password(template)
template['Parameters'] ||= {}