Sha256: 1c57bde371e1e4eae955fb0d5bddf46c856157c3f48b533f0d3735d86d073f90

Contents?: true

Size: 974 Bytes

Versions: 2

Compression:

Stored size: 974 Bytes

Contents

{
  scheduler: {
    type: 'ecs',
    region: 'us-east-1',
    cluster: 'eagletmt',
    // Fargate
    execution_role_arn: 'arn:aws:iam::012345678901:role/ecsTaskExecutionRole',
    cpu: '1024',
    memory: '2048',
    ephemeral_storage: {
      size_in_gi_b: '25',
    },
    requires_compatibilities: ['FARGATE'],
    network_mode: 'awsvpc',
    launch_type: 'FARGATE',
    network_configuration: {
      awsvpc_configuration: {
        subnets: ['subnet-XXXXXXXX'],
        security_groups: [],
        assign_public_ip: 'DISABLED',
      },
    },
  },
  app: {
    image: 'ryotarai/hello-sinatra',
    cpu: 1024,
    memory: 256,
    memory_reservation: 128,
    log_configuration: {
      log_driver: 'awslogs',
      options: {
        'awslogs-group': '/ecs/hello-fargate-batch',
        'awslogs-region': 'us-east-1',
        'awslogs-stream-prefix': 'ecs',
      },
    },
  },
  scripts: [
    (import './create_aws_cloud_watch_logs_log_group.libsonnet'),
  ],
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hako-2.17.0 examples/hello-fargate-batch.jsonnet
hako-2.16.0 examples/hello-fargate-batch.jsonnet