Sha256: 5b495bbb0f7f01a79c086898cdd1e802bd9462267f0273d433e5138545d3a8d9

Contents?: true

Size: 1.64 KB

Versions: 12

Compression:

Stored size: 1.64 KB

Contents

# frozen_string_literal: true

Aws.config[:ec2] = {
  stub_responses: {
    describe_transit_gateways: {
      transit_gateways: [
        {
          transit_gateway_id: 'tgw-1234567890abcdefg',
          transit_gateway_arn: 'arn:aws:ec2:us-east-2:123456789012:transit-gateway/tgw-1234567890abcdefg',
          owner_id: '123456789012',
          options: {
            amazon_side_asn: 64_516,
            auto_accept_shared_attachments: 'enable',
            default_route_table_association: 'enable',
            default_route_table_propagation: 'enable',
            dns_support: 'enable',
            vpn_ecmp_support: 'enable',
            association_default_route_table_id: 'tgw-rtb-0123456789abcdefg',
            propagation_default_route_table_id: 'tgw-rtb-0123456789abcdefg'
          },
          tags: [
            {
              key: 'Name',
              value: 'my-transit-gateway'
            }
          ]
        }
      ]
    },
    describe_transit_gateway_attachments: {
      transit_gateway_attachments: [
        {
          transit_gateway_attachment_id: 'tgw-attach-1234567890abcdefg',
          transit_gateway_id: 'tgw-1234567890abcdefg',
          transit_gateway_owner_id: '123456789012',
          resource_owner_id: '123456789012',
          resource_type: 'vpc',
          resource_id: 'vpc-12345678',
          state: 'available',
          association: {
            transit_gateway_route_table_id: 'tgw-rtb-0123456789abcdefg',
            state: 'associated'
          },
          tags: [
            {
              key: 'Name',
              value: 'my-transit-gateway-attachment'
            }
          ]
        }
      ]
    }
  }
}

Version data entries

12 entries across 12 versions & 1 rubygems

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