From e05046512f3e9bf7f9410f778bcde32a54cd8115 Mon Sep 17 00:00:00 2001 From: MegaportPhilipBrowne Date: Tue, 17 Dec 2024 11:34:18 -0500 Subject: [PATCH] fix: generation --- .../scenario-1/scenario.tf | 4 ++-- .../scenario-10/scenario.tf | 20 +++++++++---------- .../scenario-11/scenario.tf | 16 +++++++-------- .../scenario-12/scenario.tf | 8 ++++---- .../scenario-13/scenario.tf | 14 ++++++------- .../scenario-2/scenario.tf | 2 +- .../scenario-3/scenario.tf | 6 +++--- .../scenario-4/scenario.tf | 2 +- .../scenario-5/scenario.tf | 12 +++++------ .../scenario-6/scenario.tf | 12 +++++------ .../scenario-8/scenario.tf | 12 +++++------ .../scenario-9/scenario.tf | 10 +++++----- 12 files changed, 59 insertions(+), 59 deletions(-) diff --git a/examples/multicloud-scenarios/scenario-1/scenario.tf b/examples/multicloud-scenarios/scenario-1/scenario.tf index c76227a..ddccb34 100644 --- a/examples/multicloud-scenarios/scenario-1/scenario.tf +++ b/examples/multicloud-scenarios/scenario-1/scenario.tf @@ -46,7 +46,7 @@ resource "megaport_vxc" "aws_vxc_1_sin" { a_end = { requested_product_uid = megaport_port.port_1_sin.product_uid - ordered_vlan = 301 + ordered_vlan = 301 } b_end = { @@ -71,7 +71,7 @@ resource "megaport_vxc" "azure_vxc_1_sin" { a_end = { requested_product_uid = megaport_port.port_1_sin.product_uid - ordered_vlan = 401 + ordered_vlan = 401 } b_end = {} diff --git a/examples/multicloud-scenarios/scenario-10/scenario.tf b/examples/multicloud-scenarios/scenario-10/scenario.tf index bb4bc2f..14b20e4 100644 --- a/examples/multicloud-scenarios/scenario-10/scenario.tf +++ b/examples/multicloud-scenarios/scenario-10/scenario.tf @@ -43,25 +43,25 @@ resource "megaport_mve" "mve_location_1" { } data "megaport_partner" "internet_zone_red" { - connect_type = "TRANSIT" - company_name = "Networks" - product_name = "Megaport Internet" - location_id = data.megaport_location.location_2.id + connect_type = "TRANSIT" + company_name = "Networks" + product_name = "Megaport Internet" + location_id = data.megaport_location.location_2.id } resource "megaport_vxc" "transit_vxc_sin_1" { product_name = "MVE 1 SIN - Internet VXC" rate_limit = 100 contract_term_months = 1 - + a_end = { requested_product_uid = megaport_mve.mve_1_sin.product_uid } - + b_end = { requested_product_uid = data.megaport_partner.internet_zone_red.product_uid } - + b_end_partner_config = { partner = "transit" } @@ -82,8 +82,8 @@ resource "megaport_vxc" "aws_vxc_sin_1" { a_end = { requested_product_uid = megaport_mve.mve_1_sin.product_uid - inner_vlan = 301 - vnic_index = 0 + inner_vlan = 301 + vnic_index = 0 } b_end = { @@ -142,7 +142,7 @@ resource "megaport_vxc" "google_vxc_sin_1" { } b_end = { - requested_product_uid = data.megaport_partner.google_port_1_sin.product_uid + requested_product_uid = data.megaport_partner.google_port_1_sin.product_uid } b_end_partner_config = { diff --git a/examples/multicloud-scenarios/scenario-11/scenario.tf b/examples/multicloud-scenarios/scenario-11/scenario.tf index 4075872..db001bf 100644 --- a/examples/multicloud-scenarios/scenario-11/scenario.tf +++ b/examples/multicloud-scenarios/scenario-11/scenario.tf @@ -77,15 +77,15 @@ resource "megaport_vxc" "transit_vxc_sin_1" { product_name = "MVE 1 SIN - Internet VXC" rate_limit = 100 contract_term_months = 1 - + a_end = { requested_product_uid = megaport_mve.mve_1_sin.product_uid } - + b_end = { requested_product_uid = data.megaport_partner.internet_zone_red.product_uid } - + b_end_partner_config = { partner = "transit" } @@ -102,15 +102,15 @@ resource "megaport_vxc" "transit_vxc_sin_2" { product_name = "MVE 2 SIN - Internet VXC" rate_limit = 100 contract_term_months = 1 - + a_end = { requested_product_uid = megaport_mve.mve_2_sin.product_uid } - + b_end = { requested_product_uid = data.megaport_partner.internet_zone_blue.product_uid } - + b_end_partner_config = { partner = "transit" } @@ -247,7 +247,7 @@ resource "megaport_vxc" "google_vxc_sin_1" { } b_end = { - requested_product_uid = data.megaport_partner.google_port_1_sin.product_uid + requested_product_uid = data.megaport_partner.google_port_1_sin.product_uid } b_end_partner_config = { @@ -277,7 +277,7 @@ resource "megaport_vxc" "google_vxc_sin_2" { } b_end = { - requested_product_uid = data.megaport_partner.google_port_2_sin.product_uid + requested_product_uid = data.megaport_partner.google_port_2_sin.product_uid } b_end_partner_config = { diff --git a/examples/multicloud-scenarios/scenario-12/scenario.tf b/examples/multicloud-scenarios/scenario-12/scenario.tf index d753af2..0c26316 100644 --- a/examples/multicloud-scenarios/scenario-12/scenario.tf +++ b/examples/multicloud-scenarios/scenario-12/scenario.tf @@ -53,15 +53,15 @@ resource "megaport_vxc" "transit_vxc_sin_1" { product_name = "MVE 1 SIN - Internet VXC" rate_limit = 100 contract_term_months = 1 - + a_end = { requested_product_uid = megaport_mve.mve_1_sin.product_uid } - + b_end = { requested_product_uid = data.megaport_partner.internet_zone_red.product_uid } - + b_end_partner_config = { partner = "transit" } @@ -168,7 +168,7 @@ resource "megaport_vxc" "google_vxc_sin_1" { } b_end = { - requested_product_uid = data.megaport_partner.google_port_1_sin.product_uid + requested_product_uid = data.megaport_partner.google_port_1_sin.product_uid } b_end_partner_config = { diff --git a/examples/multicloud-scenarios/scenario-13/scenario.tf b/examples/multicloud-scenarios/scenario-13/scenario.tf index 918c887..dffaa4e 100644 --- a/examples/multicloud-scenarios/scenario-13/scenario.tf +++ b/examples/multicloud-scenarios/scenario-13/scenario.tf @@ -77,15 +77,15 @@ resource "megaport_vxc" "transit_vxc_sin_1" { product_name = "MVE 1 SIN - Internet VXC" rate_limit = 100 contract_term_months = 1 - + a_end = { requested_product_uid = megaport_mve.mve_1_sin.product_uid } - + b_end = { requested_product_uid = data.megaport_partner.internet_zone_red.product_uid } - + b_end_partner_config = { partner = "transit" } @@ -102,15 +102,15 @@ resource "megaport_vxc" "transit_vxc_sin_2" { product_name = "MVE 2 SIN - Internet VXC" rate_limit = 100 contract_term_months = 1 - + a_end = { requested_product_uid = megaport_mve.mve_2_sin.product_uid } - + b_end = { requested_product_uid = data.megaport_partner.internet_zone_blue.product_uid } - + b_end_partner_config = { partner = "transit" } @@ -330,7 +330,7 @@ resource "megaport_vxc" "google_vxc_sin_2" { } b_end = { - requested_product_uid = data.megaport_partner.google_port_2_sin.product_uid + requested_product_uid = data.megaport_partner.google_port_2_sin.product_uid } b_end_partner_config = { diff --git a/examples/multicloud-scenarios/scenario-2/scenario.tf b/examples/multicloud-scenarios/scenario-2/scenario.tf index 5d8598a..11b6761 100644 --- a/examples/multicloud-scenarios/scenario-2/scenario.tf +++ b/examples/multicloud-scenarios/scenario-2/scenario.tf @@ -32,7 +32,7 @@ resource "megaport_lag_port" "lag_port_1_sin" { location_id = data.megaport_location.location_1.id contract_term_months = 1 marketplace_visibility = false - lag_count = 2 + lag_count = 2 diversity_zone = "red" } diff --git a/examples/multicloud-scenarios/scenario-3/scenario.tf b/examples/multicloud-scenarios/scenario-3/scenario.tf index c51e2b7..656668f 100644 --- a/examples/multicloud-scenarios/scenario-3/scenario.tf +++ b/examples/multicloud-scenarios/scenario-3/scenario.tf @@ -71,7 +71,7 @@ resource "megaport_vxc" "aws_vxc_sin_1" { requested_product_uid = megaport_mcr.mcr_1_sin.product_uid } - a_end_partner_config = { + a_end_partner_config = { partner = "vrouter" vrouter_config = { interfaces = [ @@ -121,7 +121,7 @@ resource "megaport_vxc" "azure_vxc_sin_1" { azure_config = { port_choice = "primary" service_key = "" - peers = [{ + peers = [{ type = "private" vlan = 401 peer_asn = 65001 @@ -177,7 +177,7 @@ resource "megaport_vxc" "oracle_vxc_1_sin" { requested_product_uid = megaport_mcr.mcr_1_sin.product_uid } - a_end_partner_config = { + a_end_partner_config = { partner = "vrouter" vrouter_config = { interfaces = [ diff --git a/examples/multicloud-scenarios/scenario-4/scenario.tf b/examples/multicloud-scenarios/scenario-4/scenario.tf index 8a74fdd..aeb3c33 100644 --- a/examples/multicloud-scenarios/scenario-4/scenario.tf +++ b/examples/multicloud-scenarios/scenario-4/scenario.tf @@ -255,7 +255,7 @@ resource "megaport_vxc" "oracle_vxc_2_sin" { a_end = { requested_product_uid = megaport_port.port_2_sin.product_uid - ordered_vlan = 602 + ordered_vlan = 602 } b_end = { diff --git a/examples/multicloud-scenarios/scenario-5/scenario.tf b/examples/multicloud-scenarios/scenario-5/scenario.tf index 7c4e3c0..3fe741e 100644 --- a/examples/multicloud-scenarios/scenario-5/scenario.tf +++ b/examples/multicloud-scenarios/scenario-5/scenario.tf @@ -59,7 +59,7 @@ resource "megaport_vxc" "aws_vxc_sin_1" { requested_product_uid = megaport_mcr.mcr_1_sin.product_uid } - a_end_partner_config = { + a_end_partner_config = { partner = "vrouter" vrouter_config = { interfaces = [ @@ -110,7 +110,7 @@ resource "megaport_vxc" "aws_vxc_2_sin" { requested_product_uid = megaport_mcr.mcr_2_sin.product_uid } - a_end_partner_config = { + a_end_partner_config = { partner = "vrouter" vrouter_config = { interfaces = [ @@ -160,7 +160,7 @@ resource "megaport_vxc" "azure_vxc_sin_1" { azure_config = { port_choice = "primary" service_key = "" - peers = [{ + peers = [{ type = "private" vlan = 401 peer_asn = 65001 @@ -187,7 +187,7 @@ resource "megaport_vxc" "azure_vxc_2_sin" { azure_config = { port_choice = "secondary" service_key = "" - peers = [{ + peers = [{ type = "private" vlan = 401 peer_asn = 65001 @@ -271,7 +271,7 @@ resource "megaport_vxc" "oracle_vxc_1_sin" { requested_product_uid = megaport_mcr.mcr_1_sin.product_uid } - a_end_partner_config = { + a_end_partner_config = { partner = "vrouter" vrouter_config = { interfaces = [ @@ -318,7 +318,7 @@ resource "megaport_vxc" "oracle_vxc_2_sin" { requested_product_uid = megaport_mcr.mcr_2_sin.product_uid } - a_end_partner_config = { + a_end_partner_config = { partner = "vrouter" vrouter_config = { interfaces = [ diff --git a/examples/multicloud-scenarios/scenario-6/scenario.tf b/examples/multicloud-scenarios/scenario-6/scenario.tf index 7c4e3c0..3fe741e 100644 --- a/examples/multicloud-scenarios/scenario-6/scenario.tf +++ b/examples/multicloud-scenarios/scenario-6/scenario.tf @@ -59,7 +59,7 @@ resource "megaport_vxc" "aws_vxc_sin_1" { requested_product_uid = megaport_mcr.mcr_1_sin.product_uid } - a_end_partner_config = { + a_end_partner_config = { partner = "vrouter" vrouter_config = { interfaces = [ @@ -110,7 +110,7 @@ resource "megaport_vxc" "aws_vxc_2_sin" { requested_product_uid = megaport_mcr.mcr_2_sin.product_uid } - a_end_partner_config = { + a_end_partner_config = { partner = "vrouter" vrouter_config = { interfaces = [ @@ -160,7 +160,7 @@ resource "megaport_vxc" "azure_vxc_sin_1" { azure_config = { port_choice = "primary" service_key = "" - peers = [{ + peers = [{ type = "private" vlan = 401 peer_asn = 65001 @@ -187,7 +187,7 @@ resource "megaport_vxc" "azure_vxc_2_sin" { azure_config = { port_choice = "secondary" service_key = "" - peers = [{ + peers = [{ type = "private" vlan = 401 peer_asn = 65001 @@ -271,7 +271,7 @@ resource "megaport_vxc" "oracle_vxc_1_sin" { requested_product_uid = megaport_mcr.mcr_1_sin.product_uid } - a_end_partner_config = { + a_end_partner_config = { partner = "vrouter" vrouter_config = { interfaces = [ @@ -318,7 +318,7 @@ resource "megaport_vxc" "oracle_vxc_2_sin" { requested_product_uid = megaport_mcr.mcr_2_sin.product_uid } - a_end_partner_config = { + a_end_partner_config = { partner = "vrouter" vrouter_config = { interfaces = [ diff --git a/examples/multicloud-scenarios/scenario-8/scenario.tf b/examples/multicloud-scenarios/scenario-8/scenario.tf index 1643679..7e2882b 100644 --- a/examples/multicloud-scenarios/scenario-8/scenario.tf +++ b/examples/multicloud-scenarios/scenario-8/scenario.tf @@ -159,7 +159,7 @@ resource "megaport_vxc" "aws_vxc_2_sin" { requested_product_uid = megaport_mcr.mcr_2_sin.product_uid } - a_end_partner_config = { + a_end_partner_config = { partner = "vrouter" vrouter_config = { interfaces = [ @@ -210,7 +210,7 @@ resource "megaport_vxc" "azure_vxc_sin_1" { azure_config = { port_choice = "primary" service_key = "" - peers = [{ + peers = [{ type = "private" vlan = 401 peer_asn = 65001 @@ -237,7 +237,7 @@ resource "megaport_vxc" "azure_vxc_2_sin" { azure_config = { port_choice = "secondary" service_key = "" - peers = [{ + peers = [{ type = "private" vlan = 401 peer_asn = 65001 @@ -265,7 +265,7 @@ resource "megaport_vxc" "google_vxc_sin_1" { } b_end = { - requested_product_uid = data.megaport_partner.google_port_1_sin.product_uid + requested_product_uid = data.megaport_partner.google_port_1_sin.product_uid } b_end_partner_config = { @@ -321,7 +321,7 @@ resource "megaport_vxc" "oracle_vxc_1_sin" { requested_product_uid = megaport_mcr.mcr_1_sin.product_uid } - a_end_partner_config = { + a_end_partner_config = { partner = "vrouter" vrouter_config = { interfaces = [ @@ -368,7 +368,7 @@ resource "megaport_vxc" "oracle_vxc_2_sin" { requested_product_uid = megaport_mcr.mcr_2_sin.product_uid } - a_end_partner_config = { + a_end_partner_config = { partner = "vrouter" vrouter_config = { interfaces = [ diff --git a/examples/multicloud-scenarios/scenario-9/scenario.tf b/examples/multicloud-scenarios/scenario-9/scenario.tf index c28afce..0d36390 100644 --- a/examples/multicloud-scenarios/scenario-9/scenario.tf +++ b/examples/multicloud-scenarios/scenario-9/scenario.tf @@ -206,7 +206,7 @@ resource "megaport_vxc" "aws_vxc_2_sin" { requested_product_uid = megaport_mcr.mcr_2_sin.product_uid } - a_end_partner_config = { + a_end_partner_config = { partner = "vrouter" vrouter_config = { interfaces = [ @@ -256,7 +256,7 @@ resource "megaport_vxc" "azure_vxc_sin_1" { azure_config = { port_choice = "primary" service_key = "" - peers = [{ + peers = [{ type = "private" vlan = 401 peer_asn = 65001 @@ -283,7 +283,7 @@ resource "megaport_vxc" "azure_vxc_2_sin" { azure_config = { port_choice = "secondary" service_key = "" - peers = [{ + peers = [{ type = "private" vlan = 401 peer_asn = 65001 @@ -311,7 +311,7 @@ resource "megaport_vxc" "google_vxc_sin_1" { } b_end = { - requested_product_uid = data.megaport_partner.google_port_1_sin.product_uid + requested_product_uid = data.megaport_partner.google_port_1_sin.product_uid } b_end_partner_config = { @@ -339,7 +339,7 @@ resource "megaport_vxc" "google_vxc_2_sin" { } b_end = { - requested_product_uid = data.megaport_partner.google_port_2_sin.product_uid + requested_product_uid = data.megaport_partner.google_port_2_sin.product_uid } b_end_partner_config = {