Sha256: 78bdb75ac5c5718e9bbf0b86a0814ac2df28a9549d7197053c3d85a0072cde17
Contents?: true
Size: 507 Bytes
Versions: 217
Compression:
Stored size: 507 Bytes
Contents
# Inheriting classes should implement: # # definition # template_filename # module Jets::Resource::ChildStack class Base < Jets::Resource::Base def initialize(s3_bucket, options={}) @s3_bucket = s3_bucket @options = options end def outputs { logical_id => "!Ref #{logical_id}", } end def template_url basename = File.basename(template_filename) "https://s3.amazonaws.com/#{@s3_bucket}/jets/cfn-templates/#{basename}" end end end
Version data entries
217 entries across 217 versions & 4 rubygems