Sha256: 03d386334d1cab8929d5330bd12305184e4b1f64e3ed30c934513f1bfc201c9e

Contents?: true

Size: 1.02 KB

Versions: 22

Compression:

Stored size: 1.02 KB

Contents

{
  "family": "<%= @family %>",
  "networkMode": "awsvpc",
  "containerDefinitions": [
    {
      "name": "<%= @name %>",
      "image": "<%= @image %>",
      "cpu": <%= @cpu %>,
      <% if @memory %>
      "memory": <%= @memory %>,
      <% end %>
      <% if @memory_reservation %>
      "memoryReservation": <%= @memory_reservation %>,
      <% end %>
      <% if @container_port %>
      "portMappings": [
        {
          "containerPort": <%= @container_port %>,
          "protocol": "tcp"
        }
      ],
      <% end %>
      "command": <%= @command.to_json %>,
      <% if @environment %>
      "environment": <%= @environment.to_json %>,
      <% end %>
      <% if @awslogs_group %>
      "logConfiguration": {
        "logDriver": "awslogs",
        "options": {
          "awslogs-group": "<%= @awslogs_group %>",
          "awslogs-region": "<%= @awslogs_region || 'us-east-1' %>",
          "awslogs-stream-prefix": "<%= @awslogs_stream_prefix %>"
        }
      },
      <% end %>
      "essential": true
    }
  ]
}

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
ufo-4.6.3 lib/template/.ufo/templates/main.json.erb
ufo-4.6.2 lib/template/.ufo/templates/main.json.erb
ufo-4.6.1 lib/template/.ufo/templates/main.json.erb
ufo-4.6.0 lib/template/.ufo/templates/main.json.erb
ufo-4.5.11 lib/template/.ufo/templates/main.json.erb
ufo-4.5.10 lib/template/.ufo/templates/main.json.erb
ufo-4.5.9 lib/template/.ufo/templates/main.json.erb
ufo-4.5.8 lib/template/.ufo/templates/main.json.erb
ufo-4.5.7 lib/template/.ufo/templates/main.json.erb
ufo-4.5.6 lib/template/.ufo/templates/main.json.erb
ufo-4.5.5 lib/template/.ufo/templates/main.json.erb
ufo-4.5.4 lib/template/.ufo/templates/main.json.erb
ufo-4.5.3 lib/template/.ufo/templates/main.json.erb
ufo-4.5.2 lib/template/.ufo/templates/main.json.erb
ufo-4.5.1 lib/template/.ufo/templates/main.json.erb
ufo-4.5.0 lib/template/.ufo/templates/main.json.erb
ufo-4.4.3 lib/template/.ufo/templates/main.json.erb
ufo-4.4.2 lib/template/.ufo/templates/main.json.erb
ufo-4.4.1 lib/template/.ufo/templates/main.json.erb
ufo-4.4.0 lib/template/.ufo/templates/main.json.erb