Sha256: 41fadf49db668e7460d0b67a365fd8694fe265bb66cbebf1f6125624cf081706

Contents?: true

Size: 1.01 KB

Versions: 37

Compression:

Stored size: 1.01 KB

Contents

{
  "family": "<%= @family %>",
  "requiresCompatibilities": ["FARGATE"],
  "networkMode": "awsvpc",
  "executionRoleArn": "<%= @execution_role_arn || raise("@execution_role_arn needs to be set") %>",
  "cpu": "<%= @cpu %>",
  "memory": "<%= @memory %>",
  "containerDefinitions": [
    {
      "name": "<%= @name %>",
      "image": "<%= @image %>",
      <% 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

37 entries across 37 versions & 1 rubygems

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