Sha256: 60ba10b5886ebcd551d95c6c4cb64748a6801989d7ccc3d09af5e2f2357caeda

Contents?: true

Size: 1.99 KB

Versions: 112

Compression:

Stored size: 1.99 KB

Contents

Aws.config[:rds] = {
  stub_responses: {
    describe_db_instances: {
      db_instances: [
        {
          db_instance_identifier: 'my-rds',
          db_instance_status: 'available',
          db_instance_class: 'db.t2.medium',
          vpc_security_groups: [
            {
              vpc_security_group_id: 'sg-5a6b7cd8'
            }
          ],
          db_subnet_group: {
            vpc_id: 'vpc-ab123cde',
            db_subnet_group_name: 'my-db-subnet-group',
            subnets: [
              {
                subnet_identifier: 'subnet-8901b123',
                subnet_availability_zone: {
                  name: 'ap-northeast-1a'
                }
              }
            ]
          },
          db_parameter_groups: [
            {
              db_parameter_group_name: 'default.mysql5.6'
            },
            {
              db_parameter_group_name: 'custom.mysql5.6'
            }
          ],
          option_group_memberships: [
            {
              option_group_name: 'default:mysql-5-6'
            },
            {
              option_group_name: 'custom:mysql-5-6'
            }
          ],
          availability_zone: 'ap-northeast-1a',
          multi_az: false
        }
      ]
    }
  }
}

Aws.config[:ec2] = {
  stub_responses: {
    describe_vpcs: {
      vpcs: [
        {
          vpc_id: 'vpc-ab123cde',
          tags: [
            {
              key: 'Name',
              value: 'my-vpc'
            }
          ]
        }
      ]
    },
    describe_security_groups: {
      security_groups: [
        {
          group_id: 'sg-5a6b7cd8',
          group_name: 'group-name-sg',
          tags: [
            {
              key: 'Name',
              value: 'my-db-sg'
            }
          ]
        }
      ]
    },
    describe_subnets: {
      subnets: [
        {
          subnet_id: 'subnet-8901b123',
          tags: [
            {
              key: 'Name',
              value: 'db-subnet-a'
            }
          ]
        }
      ]
    }
  }
}

Version data entries

112 entries across 112 versions & 1 rubygems

Version Path
awspec-0.66.2 lib/awspec/stub/rds.rb
awspec-0.66.1 lib/awspec/stub/rds.rb
awspec-0.66.0 lib/awspec/stub/rds.rb
awspec-0.65.2 lib/awspec/stub/rds.rb
awspec-0.65.1 lib/awspec/stub/rds.rb
awspec-0.65.0 lib/awspec/stub/rds.rb
awspec-0.64.0 lib/awspec/stub/rds.rb
awspec-0.63.1 lib/awspec/stub/rds.rb
awspec-0.63.0 lib/awspec/stub/rds.rb
awspec-0.62.1 lib/awspec/stub/rds.rb
awspec-0.62.0 lib/awspec/stub/rds.rb
awspec-0.61.1 lib/awspec/stub/rds.rb
awspec-0.61.0 lib/awspec/stub/rds.rb
awspec-0.60.1 lib/awspec/stub/rds.rb
awspec-0.60.0 lib/awspec/stub/rds.rb
awspec-0.59.0 lib/awspec/stub/rds.rb
awspec-0.58.0 lib/awspec/stub/rds.rb
awspec-0.57.1 lib/awspec/stub/rds.rb
awspec-0.57.0 lib/awspec/stub/rds.rb
awspec-0.56.1 lib/awspec/stub/rds.rb