Sha256: 2beb0d8b248c6c377e9926172384dc5f977466069da03377b53434e0c086700e

Contents?: true

Size: 906 Bytes

Versions: 13

Compression:

Stored size: 906 Bytes

Contents

# frozen_string_literal: true

Aws.config[:ec2] = {
  stub_responses: {
    describe_nat_gateways: {
      nat_gateways: [
        {
          nat_gateway_id: 'nat-7ff7777f',
          vpc_id: 'vpc-ab123cde',
          state: 'available',
          nat_gateway_addresses: [
            public_ip: '123.0.456.789',
            allocation_id: 'unknown',
            private_ip: 'unknown',
            network_interface_id: 'unknown'
          ],
          tags: [
            {
              key: 'Name',
              value: 'my-nat-gateway'
            }
          ]
        }
      ],
      next_token: nil
    },
    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

13 entries across 13 versions & 1 rubygems

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