Sha256: 82ac107ec2ffe14d7aff235bb16702285f5821b7928c4ecfbe47426b603470a6

Contents?: true

Size: 1.3 KB

Versions: 12

Compression:

Stored size: 1.3 KB

Contents

# frozen_string_literal: true

Aws.config[:ecs] = {
  stub_responses: {
    describe_task_definition: {
      task_definition: {
        container_definitions: [
          {
            name: 'wordpress',
            cpu: 10,
            environment: [],
            essential: true,
            image: 'wordpress',
            links: [
              'mysql'
            ],
            memory: 500,
            mount_points: [],
            port_mappings: [
              {
                container_port: 80,
                host_port: 80
              }
            ],
            volumes_from: []
          },
          {
            name: 'mysql',
            cpu: 10,
            environment: [
              {
                name: 'MYSQL_ROOT_PASSWORD',
                value: 'password'
              }
            ],
            essential: true,
            image: 'mysql',
            memory: 500,
            mount_points: [],
            port_mappings: [],
            volumes_from: []
          }
        ],
        status: 'ACTIVE',
        family: 'my-ecs-task-definition',
        revision: 8,
        task_definition_arn: 'arn:aws:ecs:us-east-1:123456789012:task-definition/my-ecs-task-definition:8',
        task_role_arn: 'arn:aws:iam::123456789012:role/my-iam-role',
        volumes: []
      }
    }
  }
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
awspec-1.30.0 lib/awspec/stub/ecs_task_definition.rb
awspec-1.29.3 lib/awspec/stub/ecs_task_definition.rb
awspec-1.29.2 lib/awspec/stub/ecs_task_definition.rb
awspec-1.29.1 lib/awspec/stub/ecs_task_definition.rb
awspec-1.29.0 lib/awspec/stub/ecs_task_definition.rb
awspec-1.28.2 lib/awspec/stub/ecs_task_definition.rb
awspec-1.28.1 lib/awspec/stub/ecs_task_definition.rb
awspec-1.28.0 lib/awspec/stub/ecs_task_definition.rb
awspec-1.27.1 lib/awspec/stub/ecs_task_definition.rb
awspec-1.27.0 lib/awspec/stub/ecs_task_definition.rb
awspec-1.26.0 lib/awspec/stub/ecs_task_definition.rb
awspec-1.25.2 lib/awspec/stub/ecs_task_definition.rb