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.49.0 lib/awspec/stub/vpc.rb
awspec-0.48.0 lib/awspec/stub/vpc.rb
awspec-0.47.0 lib/awspec/stub/vpc.rb
awspec-0.46.0 lib/awspec/stub/vpc.rb
awspec-0.45.0 lib/awspec/stub/vpc.rb
awspec-0.44.0 lib/awspec/stub/vpc.rb
awspec-0.43.0 lib/awspec/stub/vpc.rb
awspec-0.42.0 lib/awspec/stub/vpc.rb
awspec-0.41.0 lib/awspec/stub/vpc.rb
awspec-0.40.0 lib/awspec/stub/vpc.rb
awspec-0.39.0 lib/awspec/stub/vpc.rb
awspec-0.38.0 lib/awspec/stub/vpc.rb
awspec-0.37.8 lib/awspec/stub/vpc.rb
awspec-0.37.7 lib/awspec/stub/vpc.rb
awspec-0.37.6 lib/awspec/stub/vpc.rb
awspec-0.37.5 lib/awspec/stub/vpc.rb
awspec-0.37.4 lib/awspec/stub/vpc.rb
awspec-0.37.3 lib/awspec/stub/vpc.rb
awspec-0.37.2 lib/awspec/stub/vpc.rb
awspec-0.37.1 lib/awspec/stub/vpc.rb