Sha256: a2da5fcd2ae63ee159ea6c82b7e53a3a6617d3b8ced4de4feb618213d51f37c0

Contents?: true

Size: 1.14 KB

Versions: 5

Compression:

Stored size: 1.14 KB

Contents

template "api-web" do
  source "web"
  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" do
  source "web"
  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",
    ssl_cert: "arn:aws:iam::12345:server-certificate/wildcard"
  )
end

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lono-3.5.0 lib/starter_projects/json_project/config/templates/base/stacks.rb
lono-3.4.1 lib/starter_projects/json_project/config/templates/base/stacks.rb
lono-3.4.0 lib/starter_projects/json_project/config/templates/base/stacks.rb
lono-3.3.4 lib/starter_projects/json_project/config/templates/base/stacks.rb
lono-3.3.2 lib/starter_projects/json_project/config/templates/base/stacks.rb