Sha256: e9263312e78b1ce704737c8a3c4daab49c21d16839e4ea982611b3c0c6e88e00
Contents?: true
Size: 601 Bytes
Versions: 3
Compression:
Stored size: 601 Bytes
Contents
module Jack module EbConfig class Create < Base attr_reader :eb_config_path def initialize(options={}) super @app_name = options[:app] || app_name_convention(@env_name) end def platform CreateYaml.new.data['Platform'] || latest_docker_platform end def app_name @app_name end def latest_docker_platform solution_stacks.grep(/Docker/).reject {|x| x =~ /Preconfigured/}.sort.last end def solution_stacks eb.list_available_solution_stacks.solution_stacks end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jack-eb-0.1.5 | lib/jack/eb_config/create.rb |
jack-eb-0.1.4 | lib/jack/eb_config/create.rb |
jack-eb-0.1.3 | lib/jack/eb_config/create.rb |