Sha256: 4b3b2f7431fbce9dfdea94b8dc72b37d688be17700f6b87b2e28939b270edeeb

Contents?: true

Size: 693 Bytes

Versions: 7

Compression:

Stored size: 693 Bytes

Contents

Aws.config[:ec2] = {
  stub_responses: {
    describe_internet_gateways: {
      internet_gateways: [
        internet_gateway_id: 'igw-1ab2cd3e',
        attachments: [
          {
            vpc_id: 'vpc-ab123cde',
            state: 'attached'
          }
        ],
        tags: [
          {
            key: 'Name',
            value: 'my-internet-gateway'
          }
        ]
      ]
    },
    describe_vpcs: {
      vpcs: [
        {
          vpc_id: 'vpc-ab123cde',
          state: 'available',
          cidr_block: '10.0.0.0/16',
          tags: [
            {
              key: 'Name',
              value: 'my-vpc'
            }
          ]
        }
      ]
    }
  }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
awspec-0.73.0 lib/awspec/stub/internet_gateway.rb
awspec-0.72.0 lib/awspec/stub/internet_gateway.rb
awspec-0.71.0 lib/awspec/stub/internet_gateway.rb
awspec-0.70.0 lib/awspec/stub/internet_gateway.rb
awspec-0.69.1 lib/awspec/stub/internet_gateway.rb
awspec-0.69.0 lib/awspec/stub/internet_gateway.rb
awspec-0.68.0 lib/awspec/stub/internet_gateway.rb