Sha256: bf918b8149046060a93c467c1d26f0e17bb87838883fcb4ec1abc46e19281168

Contents?: true

Size: 1.21 KB

Versions: 14

Compression:

Stored size: 1.21 KB

Contents

template "api-web-prod.yml" do
  source "web.yml.erb"
  variables(
    ami: "ami-123",
    instance_type: "t2.small",
    port: "80",
    high_threshold: "15",
    high_periods: "4",
    low_threshold: "5",
    low_periods: "10",
    max_size: "24",
    min_size: "6",
    down_adjustment: "-3",
    up_adjustment: "3",
    ssl_cert: "arn:aws:iam::12345:server-certificate/wildcard"
  )
end

template "api-worker-prod.yml" do
  source "web.yml.erb"
  variables(
    ami: "ami-123",
    instance_type: "t2.small",
    port: "80",
    high_threshold: "15",
    high_periods: "4",
    low_threshold: "5",
    low_periods: "10",
    max_size: "24",
    min_size: "6",
    down_adjustment: "-3",
    up_adjustment: "3",
    user_data_script: "ruby_script.rb.erb",
    ssl_cert: "arn:aws:iam::12345:server-certificate/wildcard"
  )
end

template "api-redis-prod.yml" do
  source "db.yml.erb"
  variables(
    ami: "ami-456",
    instance_type: "t2.small",
    port: "80",
    volume_size: "20",
    availability_zone: "us-east-1e"
  )
end

template "parent/db-stack.yml" do
  source "db.yml.erb"
  variables(
    ami: "ami-456",
    instance_type: "t2.small",
    port: "80",
    volume_size: "20",
    availability_zone: "us-east-1e"
  )
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
lono-2.1.0 lib/starter_projects/yaml_project/config/lono/api.rb
lono-2.0.5 lib/starter_projects/yaml_project/config/lono/api.rb
lono-2.0.4 lib/starter_projects/yaml_project/config/lono/api.rb
lono-2.0.3 lib/starter_projects/yaml_project/config/lono/api.rb
lono-2.0.2 lib/starter_projects/yaml_project/config/lono/api.rb
lono-2.0.1 lib/starter_projects/yaml_project/config/lono/api.rb
lono-2.0.0 lib/starter_projects/yaml_project/config/lono/api.rb
lono-1.1.3 lib/starter_project_yaml/config/lono/api.rb
lono-1.1.2 lib/starter_project_yaml/config/lono/api.rb
lono-1.1.1 lib/starter_project_yaml/config/lono/api.rb
lono-1.1.0 lib/starter_project_yaml/config/lono/api.rb
lono-1.0.2 lib/starter_project_yaml/config/lono/api.rb
lono-1.0.1 lib/starter_project_yaml/config/lono/api.rb
lono-1.0.0 lib/starter_project_yaml/config/lono/api.rb