From 255ce89d25c0c490e4b1bf18baf82e0dfd2a5c7a Mon Sep 17 00:00:00 2001 From: thogarty <139183873+thogarty@users.noreply.github.com> Date: Tue, 30 Jan 2024 12:22:11 -0800 Subject: [PATCH] Fix issue with notifications and variable name in main file of port example (#28) --- examples/cloud-router-2-port-connection/main.tf | 2 +- modules/cloud-router-connection/main.tf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/cloud-router-2-port-connection/main.tf b/examples/cloud-router-2-port-connection/main.tf index 4f00bc68..9f65ba43 100644 --- a/examples/cloud-router-2-port-connection/main.tf +++ b/examples/cloud-router-2-port-connection/main.tf @@ -21,5 +21,5 @@ module "cloud_router_port_connection" { zside_ap_type = var.zside_ap_type zside_location = var.zside_location zside_port_name = var.zside_port_name - zside_vlan_tag = var.zside_vlan_outer_tag + zside_vlan_outer_tag = var.zside_vlan_outer_tag } diff --git a/modules/cloud-router-connection/main.tf b/modules/cloud-router-connection/main.tf index 27cec075..28b26daa 100644 --- a/modules/cloud-router-connection/main.tf +++ b/modules/cloud-router-connection/main.tf @@ -18,7 +18,7 @@ resource "equinix_fabric_connection" "primary_cloud_router_connection" { name = var.connection_name type = var.connection_type notifications { - type = var.notifications_emails + type = var.notifications_type emails = var.notifications_emails } additional_info = var.additional_info != [] ? var.additional_info : null @@ -94,7 +94,7 @@ resource "equinix_fabric_connection" "secondary_cloud_router_connection" { name = var.secondary_connection_name type = var.connection_type notifications { - type = var.notifications_emails + type = var.notifications_type emails = var.notifications_emails } additional_info = var.additional_info != [] ? var.additional_info : null