Sha256: b231235986bc846b870fdf5848ee03266426f1d618ad10bfd48d289e97432ac5

Contents?: true

Size: 436 Bytes

Versions: 183

Compression:

Stored size: 436 Bytes

Contents

module Jets::Resource::Lambda
  class GemLayer < LayerVersion
    def description
      "Jets Ruby Gems"
    end

    def layer_name
      # Do not include the Jets.extra_env to group the layers in same app together
      "#{Jets.config.short_env}-#{Jets.config.project_name}-gems"
    end

    def code_s3_key
      checksum = Jets::Builders::Md5.checksums["stage/opt"]
      "jets/code/opt-#{checksum}.zip" # s3_key
    end
  end
end

Version data entries

183 entries across 183 versions & 4 rubygems

Version Path
jets-1.9.20 lib/jets/resource/lambda/gem_layer.rb
jets-1.9.19 lib/jets/resource/lambda/gem_layer.rb
jets-1.9.18 lib/jets/resource/lambda/gem_layer.rb
jets-1.9.17 lib/jets/resource/lambda/gem_layer.rb
jets-1.9.16 lib/jets/resource/lambda/gem_layer.rb
jets-1.9.15 lib/jets/resource/lambda/gem_layer.rb
jets-1.9.14 lib/jets/resource/lambda/gem_layer.rb
jets-1.9.13 lib/jets/resource/lambda/gem_layer.rb
jets-1.9.12 lib/jets/resource/lambda/gem_layer.rb
jets-1.9.11 lib/jets/resource/lambda/gem_layer.rb
jets-1.9.10 lib/jets/resource/lambda/gem_layer.rb
jets-1.9.9 lib/jets/resource/lambda/gem_layer.rb
jets-1.9.8 lib/jets/resource/lambda/gem_layer.rb
jets-1.9.7 lib/jets/resource/lambda/gem_layer.rb
jets-1.9.6 lib/jets/resource/lambda/gem_layer.rb
jets-1.9.5 lib/jets/resource/lambda/gem_layer.rb
jets-1.9.4 lib/jets/resource/lambda/gem_layer.rb
jets-1.9.3 lib/jets/resource/lambda/gem_layer.rb
jets-1.9.2 lib/jets/resource/lambda/gem_layer.rb
jets-1.9.1 lib/jets/resource/lambda/gem_layer.rb