Method: Sfn::CommandModule::Template::InstanceMethods#extract_current_nested_template_parameters
- Defined in:
- lib/sfn/command_module/template.rb
#extract_current_nested_template_parameters(template, stack_name, c_stack = nil) ⇒ Hash
Extract currently defined parameters for nested template
368 369 370 371 372 373 374 375 |
# File 'lib/sfn/command_module/template.rb', line 368 def extract_current_nested_template_parameters(template, stack_name, c_stack = nil) if template.parent current_parameters = template.parent.compile.resources.set!(stack_name).properties.parameters current_parameters.nil? ? Smash.new : current_parameters._dump else Smash.new end end |