Sha256: 845800ca539c5e102540831a0af8591b798118fbb5d6dc0bd2613c9274264034

Contents?: true

Size: 587 Bytes

Versions: 3

Compression:

Stored size: 587 Bytes

Contents

class Lono::SetInstances
  class Update < Changeable
    def perform(options)
      cfn.update_stack_instances(options)
    rescue Aws::CloudFormation::Errors::StackInstanceNotFoundException => e
      puts "#{e.class}: #{e.message}".color(:red)
      puts <<~EOL
        One of the provided stack instance was not found. Unable to update the stack instances unless all stack instances
        already exist. It may be helpful to check the StackSet console Instances Tab. You can also use the
        `lono set_instances deploy` command instead.
      EOL
      exit 1
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lono-7.5.2 lib/lono/set_instances/update.rb
lono-7.5.1 lib/lono/set_instances/update.rb
lono-7.5.0 lib/lono/set_instances/update.rb