Sha256: c5c75c52e45333159baf792a3e1ab258280a343d6ab08c0f68a72a7035e44e26

Contents?: true

Size: 1.35 KB

Versions: 138

Compression:

Stored size: 1.35 KB

Contents

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

138 entries across 138 versions & 4 rubygems

Version Path
awspec-0.68.0 lib/awspec/stub/ecs_task_definition.rb
awspec-0.67.1 lib/awspec/stub/ecs_task_definition.rb
awspec-0.67.0 lib/awspec/stub/ecs_task_definition.rb
awspec-0.66.2 lib/awspec/stub/ecs_task_definition.rb
awspec-0.66.1 lib/awspec/stub/ecs_task_definition.rb
awspec-0.66.0 lib/awspec/stub/ecs_task_definition.rb
awspec-0.65.2 lib/awspec/stub/ecs_task_definition.rb
awspec-0.65.1 lib/awspec/stub/ecs_task_definition.rb
awspec-0.65.0 lib/awspec/stub/ecs_task_definition.rb
awspec-0.64.0 lib/awspec/stub/ecs_task_definition.rb
awspec-0.63.1 lib/awspec/stub/ecs_task_definition.rb
awspec-0.63.0 lib/awspec/stub/ecs_task_definition.rb
awspec-0.62.1 lib/awspec/stub/ecs_task_definition.rb
awspec-0.62.0 lib/awspec/stub/ecs_task_definition.rb
awspec-0.61.1 lib/awspec/stub/ecs_task_definition.rb
awspec-0.61.0 lib/awspec/stub/ecs_task_definition.rb
awspec-0.60.1 lib/awspec/stub/ecs_task_definition.rb
awspec-0.60.0 lib/awspec/stub/ecs_task_definition.rb