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-4.0.12 lib/jets/resource/lambda/gem_layer.rb
jets-4.0.11 lib/jets/resource/lambda/gem_layer.rb
jets-4.0.10 lib/jets/resource/lambda/gem_layer.rb
jets-4.0.9 lib/jets/resource/lambda/gem_layer.rb
jets-4.0.8 lib/jets/resource/lambda/gem_layer.rb
jets-4.0.7 lib/jets/resource/lambda/gem_layer.rb
jets-4.0.6 lib/jets/resource/lambda/gem_layer.rb
jets-4.0.5 lib/jets/resource/lambda/gem_layer.rb
jets-4.0.4 lib/jets/resource/lambda/gem_layer.rb
jets-4.0.3 lib/jets/resource/lambda/gem_layer.rb
jets-4.0.2 lib/jets/resource/lambda/gem_layer.rb
jets-4.0.1 lib/jets/resource/lambda/gem_layer.rb
jets-4.0.0 lib/jets/resource/lambda/gem_layer.rb
jets-3.2.2 lib/jets/resource/lambda/gem_layer.rb
jets-3.2.1 lib/jets/resource/lambda/gem_layer.rb
jets.benforeva-3.0.17.pre.mount.pre.fix lib/jets/resource/lambda/gem_layer.rb
jets-3.2.0 lib/jets/resource/lambda/gem_layer.rb
jets-3.1.5 lib/jets/resource/lambda/gem_layer.rb
jets-3.1.4 lib/jets/resource/lambda/gem_layer.rb
jets-3.1.3 lib/jets/resource/lambda/gem_layer.rb