class StackMaster::Commands::Compile

Public Instance Methods

perform() click to toggle source
# File lib/stack_master/commands/compile.rb, line 7
def perform
  StackMaster.stdout.puts(proposed_stack.template_body)
end

Private Instance Methods

proposed_stack() click to toggle source
# File lib/stack_master/commands/compile.rb, line 17
def proposed_stack
  @proposed_stack ||= Stack.generate(stack_definition, @config)
end
stack_definition() click to toggle source
# File lib/stack_master/commands/compile.rb, line 13
def stack_definition
  @stack_definition ||= @config.find_stack(@region, @stack_name)
end