Sha256: 187a1fec561bae7c4150b50adbcbbb1f4082e0adbee3407a6161983637ae0fb5

Contents?: true

Size: 736 Bytes

Versions: 7

Compression:

Stored size: 736 Bytes

Contents

module Kontena
  module Machine
    module Aws
      module Common

        # @param [String] region
        # @return String
        def resolve_ami(region)
          images = {
              'eu-central-1' => 'ami-fee2fb92',
              'ap-northeast-1' => 'ami-26033d48',
              'us-gov-west-1' => 'ami-bdf04cdc',
              'sa-east-1' => 'ami-10c5457c',
              'ap-southeast-2' => 'ami-dc8baebf',
              'ap-southeast-1' => 'ami-6969a50a',
              'us-east-1' => 'ami-23260749',
              'us-west-2' => 'ami-20927640',
              'us-west-1' => 'ami-c2e490a2',
              'eu-west-1' => 'ami-7e72c70d'
          }
          images[region]
        end
        
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
kontena-cli-0.12.0 lib/kontena/machine/aws/common.rb
kontena-cli-0.11.7 lib/kontena/machine/aws/common.rb
kontena-cli-0.11.6 lib/kontena/machine/aws/common.rb
kontena-cli-0.11.5 lib/kontena/machine/aws/common.rb
kontena-cli-0.11.4 lib/kontena/machine/aws/common.rb
kontena-cli-0.11.3 lib/kontena/machine/aws/common.rb
kontena-cli-0.11.2 lib/kontena/machine/aws/common.rb