Method: Cfer::Cfn::Client#fetch_output

Defined in:
lib/cfer/cfn/client.rb

#fetch_output(stack_name, output_name) ⇒ Object



264
265
266
# File 'lib/cfer/cfn/client.rb', line 264

def fetch_output(stack_name, output_name)
  fetch_outputs(stack_name)[output_name] || raise(Cfer::Util::CferError, "Stack #{stack_name} has no output named `#{output_name}`")
end