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\)
This commit is contained in:
Sam Ottenhoff 2016-06-08 13:46:56 +00:00
parent ac2d195cc5
commit bd36bc60aa
6 changed files with 10 additions and 10 deletions

View File

@ -116,7 +116,7 @@ func testAccCheckCustomerGateway(gatewayResource string) resource.TestCheckFunc
const testAccCustomerGatewayConfig = ` const testAccCustomerGatewayConfig = `
resource "aws_customer_gateway" "foo" { resource "aws_customer_gateway" "foo" {
bgp_asn = 60000 bgp_asn = 65000
ip_address = "172.0.0.1" ip_address = "172.0.0.1"
type = "ipsec.1" type = "ipsec.1"
tags { tags {
@ -128,7 +128,7 @@ resource "aws_customer_gateway" "foo" {
// Add the Another: "tag" tag. // Add the Another: "tag" tag.
const testAccCustomerGatewayConfigUpdateTags = ` const testAccCustomerGatewayConfigUpdateTags = `
resource "aws_customer_gateway" "foo" { resource "aws_customer_gateway" "foo" {
bgp_asn = 60000 bgp_asn = 65000
ip_address = "172.0.0.1" ip_address = "172.0.0.1"
type = "ipsec.1" type = "ipsec.1"
tags { tags {
@ -141,7 +141,7 @@ resource "aws_customer_gateway" "foo" {
// Change the ip_address. // Change the ip_address.
const testAccCustomerGatewayConfigForceReplace = ` const testAccCustomerGatewayConfigForceReplace = `
resource "aws_customer_gateway" "foo" { resource "aws_customer_gateway" "foo" {
bgp_asn = 60000 bgp_asn = 65000
ip_address = "172.10.10.1" ip_address = "172.10.10.1"
type = "ipsec.1" type = "ipsec.1"
tags { tags {

View File

@ -142,7 +142,7 @@ resource "aws_vpn_gateway" "vpn_gateway" {
} }
resource "aws_customer_gateway" "customer_gateway" { resource "aws_customer_gateway" "customer_gateway" {
bgp_asn = 60000 bgp_asn = 65000
ip_address = "178.0.0.1" ip_address = "178.0.0.1"
type = "ipsec.1" type = "ipsec.1"
} }
@ -164,7 +164,7 @@ resource "aws_vpn_gateway" "vpn_gateway" {
} }
resource "aws_customer_gateway" "customer_gateway" { resource "aws_customer_gateway" "customer_gateway" {
bgp_asn = 60000 bgp_asn = 65000
ip_address = "178.0.0.1" ip_address = "178.0.0.1"
type = "ipsec.1" type = "ipsec.1"
} }

View File

@ -151,7 +151,7 @@ resource "aws_vpn_gateway" "vpn_gateway" {
} }
resource "aws_customer_gateway" "customer_gateway" { resource "aws_customer_gateway" "customer_gateway" {
bgp_asn = 60000 bgp_asn = 65000
ip_address = "182.0.0.1" ip_address = "182.0.0.1"
type = "ipsec.1" type = "ipsec.1"
} }
@ -178,7 +178,7 @@ resource "aws_vpn_gateway" "vpn_gateway" {
} }
resource "aws_customer_gateway" "customer_gateway" { resource "aws_customer_gateway" "customer_gateway" {
bgp_asn = 60000 bgp_asn = 65000
ip_address = "182.0.0.1" ip_address = "182.0.0.1"
type = "ipsec.1" type = "ipsec.1"
} }

View File

@ -16,7 +16,7 @@ Provides a customer gateway inside a VPC. These objects can be connected to VPN
``` ```
resource "aws_customer_gateway" "main" { resource "aws_customer_gateway" "main" {
bgp_asn = 60000 bgp_asn = 65000
ip_address = "172.83.124.10" ip_address = "172.83.124.10"
type = "ipsec.1" type = "ipsec.1"
tags { tags {

View File

@ -23,7 +23,7 @@ resource "aws_vpn_gateway" "vpn_gateway" {
} }
resource "aws_customer_gateway" "customer_gateway" { resource "aws_customer_gateway" "customer_gateway" {
bgp_asn = 60000 bgp_asn = 65000
ip_address = "172.0.0.1" ip_address = "172.0.0.1"
type = "ipsec.1" type = "ipsec.1"
} }

View File

@ -22,7 +22,7 @@ resource "aws_vpn_gateway" "vpn_gateway" {
} }
resource "aws_customer_gateway" "customer_gateway" { resource "aws_customer_gateway" "customer_gateway" {
bgp_asn = 60000 bgp_asn = 65000
ip_address = "172.0.0.1" ip_address = "172.0.0.1"
type = "ipsec.1" type = "ipsec.1"
} }