Method: SimpleDeploy::Stack::OutputMapper#map_outputs_from_stacks
- Defined in:
- lib/simple_deploy/stack/output_mapper.rb
#map_outputs_from_stacks(args) ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/simple_deploy/stack/output_mapper.rb', line 10 def map_outputs_from_stacks(args) @stacks = args[:stacks] @template = args[:template] @results = {} merge_stacks_outputs pluralize_keys prune_unused_parameters @results.each_pair do |key, value| @logger.info "Mapping output '#{key}' to input parameter with value '#{value}'." end @results.map { |x| { x.first => x.last } } end |