Exception: ElasticBeans::Aws::CloudformationStack::MissingOutputError

Inherits:
Error
  • Object
show all
Defined in:
lib/elastic_beans/aws/cloudformation_stack.rb

Instance Method Summary collapse

Constructor Details

#initialize(stack_name:, output_key:) ⇒ MissingOutputError

Returns a new instance of MissingOutputError.



64
65
66
67
# File 'lib/elastic_beans/aws/cloudformation_stack.rb', line 64

def initialize(stack_name:, output_key:)
  @stack_name = stack_name
  @output_key = output_key
end

Instance Method Details

#messageObject



69
70
71
72
# File 'lib/elastic_beans/aws/cloudformation_stack.rb', line 69

def message
  "Stack `#{@stack_name}' is missing output `#{@output_key}'." \
    " Make sure the stack matches the outputs required."
end