diff --git a/examples/mcr/mcr.tf b/examples/mcr/mcr.tf index 61d508e..e197854 100644 --- a/examples/mcr/mcr.tf +++ b/examples/mcr/mcr.tf @@ -14,5 +14,4 @@ resource "megaport_mcr" "mcr" { port_speed = 1000 location_id = data.megaport_location.bne_nxt1.id contract_term_months = 1 - marketplace_visibility = false } diff --git a/examples/vxc_basic/vxc_basic.tf b/examples/vxc_basic/vxc_basic.tf index 0a580b4..cdc2053 100644 --- a/examples/vxc_basic/vxc_basic.tf +++ b/examples/vxc_basic/vxc_basic.tf @@ -29,11 +29,12 @@ resource "megaport_vxc" "vxc" { product_name = "Megaport VXC" rate_limit = 1000 contract_term_months = 1 - port_uid = megaport_port.port_1.product_uid - a_end = {} + a_end = { + requested_product_uid = megaport_port.port_1.product_uid + } b_end = { - ordered_product_uid = megaport_port.port_2.product_uid + requested_product_uid = megaport_port.port_2.product_uid } } diff --git a/examples/vxc_mcr_bgp/vxc_mcr_bgp.tf b/examples/vxc_mcr_bgp/vxc_mcr_bgp.tf index 7d4d785..2d9b89f 100644 --- a/examples/vxc_mcr_bgp/vxc_mcr_bgp.tf +++ b/examples/vxc_mcr_bgp/vxc_mcr_bgp.tf @@ -23,7 +23,6 @@ data "megaport_partner" "aws_port" { resource "megaport_mcr" "mcr" { product_name = "Megaport Example MCR" location_id = data.megaport_location.bne_nxt1.id - marketplace_visibility = false contract_term_months = 1 port_speed = 5000 asn = 64555 @@ -52,10 +51,10 @@ resource "megaport_mcr" "mcr" { resource "megaport_vxc" "aws_vxc" { product_name = "Megaport Example VXC - AWS" rate_limit = 1000 - port_uid = megaport_mcr.mcr.product_uid contract_term_months = 1 a_end = { + requested_product_uid = megaport_mcr.mcr.product_uid ordered_vlan = 0 } @@ -93,7 +92,7 @@ resource "megaport_vxc" "aws_vxc" { } b_end = { - ordered_product_uid = data.megaport_partner.aws_port.product_uid + requested_product_uid = data.megaport_partner.aws_port.product_uid } b_end_partner_config = { diff --git a/examples/vxc_mcr_csps/vxc_mcr_csps.tf b/examples/vxc_mcr_csps/vxc_mcr_csps.tf index 49fed8e..c18a6b4 100644 --- a/examples/vxc_mcr_csps/vxc_mcr_csps.tf +++ b/examples/vxc_mcr_csps/vxc_mcr_csps.tf @@ -23,7 +23,6 @@ data "megaport_partner" "aws_port" { resource "megaport_mcr" "mcr" { product_name = "Megaport Example MCR A-End" location_id = data.megaport_location.bne_nxt1.id - marketplace_visibility = false contract_term_months = 1 port_speed = 5000 asn = 64555 @@ -32,15 +31,15 @@ resource "megaport_mcr" "mcr" { resource "megaport_vxc" "aws_vxc" { product_name = "Megaport VXC Example - AWS" rate_limit = 1000 - port_uid = megaport_mcr.mcr.product_uid contract_term_months = 1 a_end = { + requested_product_uid = megaport.mcr.mcr.product_uid ordered_vlan = 2191 } b_end = { - ordered_product_uid = data.megaport_partner.aws_port.product_uid + requested_product_uid = data.megaport_partner.aws_port.product_uid } b_end_partner_config = { @@ -60,9 +59,9 @@ resource "megaport_vxc" "gcp_vxc" { product_name = "Megaport VXC Example - Google" rate_limit = 1000 contract_term_months = 1 - port_uid = megaport_mcr.mcr.product_uid a_end = { + requested_product_uid = = megaport_mcr.mcr.product_uid ordered_vlan = 182 } @@ -80,9 +79,9 @@ resource "megaport_vxc" "azure_vxc" { product_name = "Megaport VXC Example - Azure" rate_limit = 200 contract_term_months = 1 - port_uid = megaport_mcr.mcr.product_uid a_end = { + requested_product_uid = megaport_mcr.mcr.product_uid ordered_vlan = 0 }