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.3.2 lib/jets/resource/lambda/gem_layer.rb
jets-1.3.1 lib/jets/resource/lambda/gem_layer.rb
jets-1.3.0 lib/jets/resource/lambda/gem_layer.rb