Sha256: 41d461c496f8f91eb65e209c9d13da3a4fc64266b8491501b8376e6e0553f999

Contents?: true

Size: 1.06 KB

Versions: 2

Compression:

Stored size: 1.06 KB

Contents

{
    scheduler: {
        type: 'ecs',
        region: 'us-east-1',
        cluster: 'eagletmt',
        // Fargate
        execution_role_arn: 'arn:aws:iam::012345678901:role/ecsTaskExecutionRole',
        cpu: '1024',
        memory: '2048',
        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.2.0 examples/hello-fargate-batch.jsonnet
hako-2.1.0 examples/hello-fargate-batch.jsonnet