Sha256: aa12d361d25160f743f377de9d35482b836ba9eec784bc646ff4682b29d04130

Contents?: true

Size: 1.22 KB

Versions: 3

Compression:

Stored size: 1.22 KB

Contents

template "prod-api-app.json" do
  source "app.json.erb"
  variables(
    ami: "ami-123",
    instance_type: "m1.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 "prod-api-worker.json" do
  source "app.json.erb"
  variables(
    ami: "ami-123",
    instance_type: "m1.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 "prod-api-redis.json" do
  source "db.json.erb"
  variables(
    ami: "ami-456",
    instance_type: "m1.small",
    port: "80",
    volume_size: "20",
    availability_zone: "us-east-1e"
  )
end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lono-0.5.2 lib/starter_project/config/lono/api.rb
lono-0.5.1 lib/starter_project/config/lono/api.rb
lono-0.5.0 lib/starter_project/config/lono/api.rb