Method: Jets::Stack::Output::Lookup#output_value

Defined in:
lib/jets/stack/output/lookup.rb

#output_value(stack, key) ⇒ Object



28
29
30
31
32
33
34
# File 'lib/jets/stack/output/lookup.rb', line 28

def output_value(stack, key)
  key = key.to_s.camelize
  output = stack.outputs.find do |o|
    o.output_key == key
  end
  output&.output_value
end