Sha256: b903d9d343e2f8044b68e385449455de265a6cf89d269ace8a0fb6b9961c1c26

Contents?: true

Size: 1.37 KB

Versions: 44

Compression:

Stored size: 1.37 KB

Contents

Aws.config[:redshift] = {
  stub_responses: {
    describe_clusters: {
      clusters: [
        {
          cluster_identifier: 'my-redshift',
          node_type: 't2.medium',
          cluster_status: 'available',
          db_name: 'my-db',
          vpc_security_groups: [
            {
              vpc_security_group_id: 'sg-1a2b3c4d',
              status: 'active'
            }
          ],
          cluster_parameter_groups: [
            {
              parameter_group_name: 'my-pg',
              parameter_apply_status: 'in-sync'
            }
          ],
          cluster_subnet_group_name: 'my-sg',
          vpc_id: 'vpc-ab123cde',
          availability_zone: 'ap-northeast-1a',
          tags: [
            {
              key: 'Name',
              value: 'my-cluster'
            }
          ]
        }
      ]
    }
  }
}

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-1a2b3c4d',
          group_name: 'group-name-sg',
          tags: [
            {
              key: 'Name',
              value: 'my-db-sg'
            }
          ]
        }
      ]
    }
  }
}

Version data entries

44 entries across 44 versions & 3 rubygems

Version Path
awspec-1.25.1 lib/awspec/stub/redshift.rb
awspec-1.25.0 lib/awspec/stub/redshift.rb
awspec-1.24.4 lib/awspec/stub/redshift.rb
awspec-1.24.3 lib/awspec/stub/redshift.rb
awspec-1.24.2 lib/awspec/stub/redshift.rb
awspec-1.24.1 lib/awspec/stub/redshift.rb
awspec-1.24.0 lib/awspec/stub/redshift.rb
awspec-1.23.0 lib/awspec/stub/redshift.rb
awspec-1.22.1 lib/awspec/stub/redshift.rb
awspec-1.22.0 lib/awspec/stub/redshift.rb
awspec-1.21.1 lib/awspec/stub/redshift.rb
awspec-1.21.0 lib/awspec/stub/redshift.rb
awspec-1.20.0 lib/awspec/stub/redshift.rb
awspec-1.19.2 lib/awspec/stub/redshift.rb
awspec-1.19.1 lib/awspec/stub/redshift.rb
awspec-1.19.0 lib/awspec/stub/redshift.rb
cthiesfork-awspec-1.2.4 lib/awspec/stub/redshift.rb
awspec-api_gateway_extended-1.2.4 lib/awspec/stub/redshift.rb
awspec-api_gateway_extended-1.2.3 lib/awspec/stub/redshift.rb
awspec-1.18.6 lib/awspec/stub/redshift.rb