Method: Jets::Stack::Output::Lookup#output
- Defined in:
- lib/jets/stack/output/lookup.rb
#output(logical_id) ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/jets/stack/output/lookup.rb', line 9 def output(logical_id) child_stack_id = @stack_subclass.to_s.classify stack_arn = shared_stack_arn(child_stack_id) resp = cfn.describe_stacks(stack_name: stack_arn) child = resp.stacks.first return unless child output_value(child, logical_id) end |