Sha256: 980c76dbb4e0cfa3da161648252c09ed7b03525e6d861327c61cec066e92bd39
Contents?: true
Size: 715 Bytes
Versions: 7
Compression:
Stored size: 715 Bytes
Contents
module Stackster class StackReader def initialize(args) @name = args[:name] @config = args[:config] @cf = AWS::CloudFormation.new :config => @config @entry = Entry.find :name => @name, :config => @config end def attributes @entry.attributes end def outputs @cf.stack_outputs @name end def status @cf.stack_status @name end def events @cf.stack_events @name end def resources @cf.stack_resources @name end def template @cf.template @name end def instances ir = InstanceReader.new :config => @config ir.list_stack_instances @name end end end
Version data entries
7 entries across 7 versions & 1 rubygems