Sha256: bfca68c7dc33665407971e2bd7287360581ee1235489c86f85434d47a3dc50c7

Contents?: true

Size: 1.22 KB

Versions: 35

Compression:

Stored size: 1.22 KB

Contents

{
    "family": "<%= @family %>",
    "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

35 entries across 35 versions & 1 rubygems

Version Path
ufo-3.2.2 lib/template/.ufo/templates/main.json.erb
ufo-3.2.1 lib/template/.ufo/templates/main.json.erb
ufo-3.2.0 lib/template/.ufo/templates/main.json.erb
ufo-3.1.2 lib/template/.ufo/templates/main.json.erb
ufo-3.1.1 lib/template/.ufo/templates/main.json.erb
ufo-3.1.0 lib/template/.ufo/templates/main.json.erb
ufo-3.0.1 lib/template/.ufo/templates/main.json.erb
ufo-3.0.0 lib/template/.ufo/templates/main.json.erb
ufo-2.3.0 lib/starter_project/ufo/templates/main.json.erb
ufo-2.2.2 lib/starter_project/ufo/templates/main.json.erb
ufo-2.2.1 lib/starter_project/ufo/templates/main.json.erb
ufo-2.2.0 lib/starter_project/ufo/templates/main.json.erb
ufo-2.1.0 lib/starter_project/ufo/templates/main.json.erb
ufo-2.0.3 lib/starter_project/ufo/templates/main.json.erb
ufo-2.0.2 lib/starter_project/ufo/templates/main.json.erb
ufo-2.0.1 lib/starter_project/ufo/templates/main.json.erb
ufo-2.0.0 lib/starter_project/ufo/templates/main.json.erb
ufo-1.7.1 lib/starter_project/ufo/templates/main.json.erb
ufo-1.7.0 lib/starter_project/ufo/templates/main.json.erb
ufo-1.6.2 lib/starter_project/ufo/templates/main.json.erb