Sha256: 1640c630b4ff8a82e6cea1571afb933a0ebacb356ce1826ada86282e29ab9347

Contents?: true

Size: 725 Bytes

Versions: 12

Compression:

Stored size: 725 Bytes

Contents

# frozen_string_literal: true

Aws.config[:ec2] = {
  stub_responses: {
    describe_internet_gateways: {
      internet_gateways: [
        internet_gateway_id: 'igw-1ab2cd3e',
        attachments: [
          {
            vpc_id: 'vpc-ab123cde',
            state: 'available'
          }
        ],
        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

12 entries across 12 versions & 1 rubygems

Version Path
awspec-1.30.0 lib/awspec/stub/internet_gateway.rb
awspec-1.29.3 lib/awspec/stub/internet_gateway.rb
awspec-1.29.2 lib/awspec/stub/internet_gateway.rb
awspec-1.29.1 lib/awspec/stub/internet_gateway.rb
awspec-1.29.0 lib/awspec/stub/internet_gateway.rb
awspec-1.28.2 lib/awspec/stub/internet_gateway.rb
awspec-1.28.1 lib/awspec/stub/internet_gateway.rb
awspec-1.28.0 lib/awspec/stub/internet_gateway.rb
awspec-1.27.1 lib/awspec/stub/internet_gateway.rb
awspec-1.27.0 lib/awspec/stub/internet_gateway.rb
awspec-1.26.0 lib/awspec/stub/internet_gateway.rb
awspec-1.25.2 lib/awspec/stub/internet_gateway.rb