lib/kumogata/client.rb in kumogata-0.3.1 vs lib/kumogata/client.rb in kumogata-0.3.2

- old
+ new

@@ -373,10 +373,10 @@ hash[:parameters] = parameters end end def update_deletion_policy(template) - if @options.delete_stack? + if @options.delete_stack? or @options.deletion_policy_retain? template['Resources'].each do |k, v| v['DeletionPolicy'] = 'Retain' end end end