Sha256: 8e417b965907734ef687b06897420e24f7826a4e612e0bfba7b7f8f1237a0ae0

Contents?: true

Size: 1.6 KB

Versions: 162

Compression:

Stored size: 1.6 KB

Contents

Aws.config[:ec2] = {
  stub_responses: {
    describe_vpcs: {
      vpcs: [
        {
          vpc_id: 'vpc-ab123cde',
          state: 'available',
          cidr_block: '10.0.0.0/16',
          tags: [
            {
              key: 'Name',
              value: 'my-vpc'
            }
          ]
        }
      ]
    },
    describe_route_tables: {
      route_tables: [
        {
          route_table_id: 'rtb-a12bcd34',
          vpc_id: 'vpc-ab123cde',
          routes: [
            {
              destination_cidr_block: '10.0.0.0/16',
              destination_prefix_list_id: nil,
              gateway_id: 'local',
              instance_id: nil,
              instance_owner_id: nil,
              network_interface_id: nil,
              vpc_peering_connection_id: nil,
              state: 'active'
            },
            {
              destination_cidr_block: '0.0.0.0/0',
              destination_prefix_list_id: nil,
              gateway_id: 'igw-1ab2345c',
              instance_id: nil,
              instance_owner_id: nil,
              network_interface_id: nil,
              vpc_peering_connection_id: nil,
              state: 'active'
            }
          ],
          tags: [
            {
              key: 'Name',
              value: 'my-route-table'
            }
          ]
        }
      ]
    },
    describe_network_acls: {
      network_acls: [
        {
          network_acl_id: 'acl-1abc2d3e',
          vpc_id: 'vpc-ab123cde',
          tags: [
            {
              key: 'Name',
              value: 'my-network-acl'
            }
          ]
        }
      ]
    }
  }
}

Version data entries

162 entries across 162 versions & 2 rubygems

Version Path
awspec-0.25.1 lib/awspec/stub/vpc.rb
awspec-0.25.0 lib/awspec/stub/vpc.rb
awspec-0.24.2 lib/awspec/stub/vpc.rb
awspec-0.24.1 lib/awspec/stub/vpc.rb
awspec-0.24.0 lib/awspec/stub/vpc.rb
awspec-0.23.0 lib/awspec/stub/vpc.rb
awspec-0.22.1 lib/awspec/stub/vpc.rb
awspec-0.22.0 lib/awspec/stub/vpc.rb
awspec-0.21.6 lib/awspec/stub/vpc.rb
awspec-0.21.5 lib/awspec/stub/vpc.rb
awspec-0.21.4 lib/awspec/stub/vpc.rb
awspec-0.21.3 lib/awspec/stub/vpc.rb
awspec-0.21.2 lib/awspec/stub/vpc.rb
awspec-0.21.1 lib/awspec/stub/vpc.rb
awspec-0.21.0 lib/awspec/stub/vpc.rb
awspec-0.20.2 lib/awspec/stub/vpc.rb
awspec-0.20.1 lib/awspec/stub/vpc.rb
awspec-0.20.0 lib/awspec/stub/vpc.rb
awspec-0.19.0 lib/awspec/stub/vpc.rb
awspec-0.18.2 lib/awspec/stub/vpc.rb