From bd36bc60aa8a385c1bdf5d791cdfe4f00599f39b Mon Sep 17 00:00:00 2001 From: Sam Ottenhoff Date: Wed, 8 Jun 2016 13:46:56 +0000 Subject: [PATCH] BGP AS 60000 is assigned to EQUINIX-CLOUD-EXCHANGE-AMSTERDAM-ASN. AS65000 is reserved for private use. https://en.wikipedia.org/wiki/Autonomous_system_\(Internet\) --- builtin/providers/aws/resource_aws_customer_gateway_test.go | 6 +++--- builtin/providers/aws/resource_aws_vpn_connection_test.go | 4 ++-- builtin/providers/aws/resource_vpn_connection_route_test.go | 4 ++-- .../docs/providers/aws/r/customer_gateway.html.markdown | 2 +- .../docs/providers/aws/r/vpn_connection.html.markdown | 2 +- .../docs/providers/aws/r/vpn_connection_route.html.markdown | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/builtin/providers/aws/resource_aws_customer_gateway_test.go b/builtin/providers/aws/resource_aws_customer_gateway_test.go index 92ba08bc5..3009e9714 100644 --- a/builtin/providers/aws/resource_aws_customer_gateway_test.go +++ b/builtin/providers/aws/resource_aws_customer_gateway_test.go @@ -116,7 +116,7 @@ func testAccCheckCustomerGateway(gatewayResource string) resource.TestCheckFunc const testAccCustomerGatewayConfig = ` resource "aws_customer_gateway" "foo" { - bgp_asn = 60000 + bgp_asn = 65000 ip_address = "172.0.0.1" type = "ipsec.1" tags { @@ -128,7 +128,7 @@ resource "aws_customer_gateway" "foo" { // Add the Another: "tag" tag. const testAccCustomerGatewayConfigUpdateTags = ` resource "aws_customer_gateway" "foo" { - bgp_asn = 60000 + bgp_asn = 65000 ip_address = "172.0.0.1" type = "ipsec.1" tags { @@ -141,7 +141,7 @@ resource "aws_customer_gateway" "foo" { // Change the ip_address. const testAccCustomerGatewayConfigForceReplace = ` resource "aws_customer_gateway" "foo" { - bgp_asn = 60000 + bgp_asn = 65000 ip_address = "172.10.10.1" type = "ipsec.1" tags { diff --git a/builtin/providers/aws/resource_aws_vpn_connection_test.go b/builtin/providers/aws/resource_aws_vpn_connection_test.go index ceb0553a8..fd5cb1a2d 100644 --- a/builtin/providers/aws/resource_aws_vpn_connection_test.go +++ b/builtin/providers/aws/resource_aws_vpn_connection_test.go @@ -142,7 +142,7 @@ resource "aws_vpn_gateway" "vpn_gateway" { } resource "aws_customer_gateway" "customer_gateway" { - bgp_asn = 60000 + bgp_asn = 65000 ip_address = "178.0.0.1" type = "ipsec.1" } @@ -164,7 +164,7 @@ resource "aws_vpn_gateway" "vpn_gateway" { } resource "aws_customer_gateway" "customer_gateway" { - bgp_asn = 60000 + bgp_asn = 65000 ip_address = "178.0.0.1" type = "ipsec.1" } diff --git a/builtin/providers/aws/resource_vpn_connection_route_test.go b/builtin/providers/aws/resource_vpn_connection_route_test.go index 328638a05..24e048003 100644 --- a/builtin/providers/aws/resource_vpn_connection_route_test.go +++ b/builtin/providers/aws/resource_vpn_connection_route_test.go @@ -151,7 +151,7 @@ resource "aws_vpn_gateway" "vpn_gateway" { } resource "aws_customer_gateway" "customer_gateway" { - bgp_asn = 60000 + bgp_asn = 65000 ip_address = "182.0.0.1" type = "ipsec.1" } @@ -178,7 +178,7 @@ resource "aws_vpn_gateway" "vpn_gateway" { } resource "aws_customer_gateway" "customer_gateway" { - bgp_asn = 60000 + bgp_asn = 65000 ip_address = "182.0.0.1" type = "ipsec.1" } diff --git a/website/source/docs/providers/aws/r/customer_gateway.html.markdown b/website/source/docs/providers/aws/r/customer_gateway.html.markdown index 32b340522..5a83e6c43 100644 --- a/website/source/docs/providers/aws/r/customer_gateway.html.markdown +++ b/website/source/docs/providers/aws/r/customer_gateway.html.markdown @@ -16,7 +16,7 @@ Provides a customer gateway inside a VPC. These objects can be connected to VPN ``` resource "aws_customer_gateway" "main" { - bgp_asn = 60000 + bgp_asn = 65000 ip_address = "172.83.124.10" type = "ipsec.1" tags { diff --git a/website/source/docs/providers/aws/r/vpn_connection.html.markdown b/website/source/docs/providers/aws/r/vpn_connection.html.markdown index 841d7a545..c1f835ab2 100644 --- a/website/source/docs/providers/aws/r/vpn_connection.html.markdown +++ b/website/source/docs/providers/aws/r/vpn_connection.html.markdown @@ -23,7 +23,7 @@ resource "aws_vpn_gateway" "vpn_gateway" { } resource "aws_customer_gateway" "customer_gateway" { - bgp_asn = 60000 + bgp_asn = 65000 ip_address = "172.0.0.1" type = "ipsec.1" } diff --git a/website/source/docs/providers/aws/r/vpn_connection_route.html.markdown b/website/source/docs/providers/aws/r/vpn_connection_route.html.markdown index 0f4782f2d..9d7b98905 100644 --- a/website/source/docs/providers/aws/r/vpn_connection_route.html.markdown +++ b/website/source/docs/providers/aws/r/vpn_connection_route.html.markdown @@ -22,7 +22,7 @@ resource "aws_vpn_gateway" "vpn_gateway" { } resource "aws_customer_gateway" "customer_gateway" { - bgp_asn = 60000 + bgp_asn = 65000 ip_address = "172.0.0.1" type = "ipsec.1" }