lib/bora/cfn/stack.rb in bora-1.7.3 vs lib/bora/cfn/stack.rb in bora-1.7.4

- old
+ new

@@ -110,10 +110,12 @@ # ============================================================================================= private def cloudformation @cfn ||= begin - @region ? Aws::CloudFormation::Client.new(region: @region) : Aws::CloudFormation::Client.new + options = { retry_limit: 10 } + options[:region] = @region if @region + Aws::CloudFormation::Client.new(options) end end def call_cfn_action(action, options = {}, &block) underlying_stack(refresh: true)