Method: Stax::Stack#outputs

Defined in:
lib/stax/stack/outputs.rb

#outputs(key = nil) ⇒ Object



15
16
17
18
19
20
21
22
23
# File 'lib/stax/stack/outputs.rb', line 15

def outputs(key = nil)
  if key
    puts stack_output(key)
  else
    print_table Aws::Cfn.describe(stack_name).outputs.map { |o|
      [o.output_key, o.output_value, o.description, o.export_name]
    }.sort
  end
end