From a7d8654deb6f48c8479eb6eb7d2550d6ad59efa0 Mon Sep 17 00:00:00 2001 From: badra001 Date: Tue, 4 May 2021 09:34:30 -0400 Subject: [PATCH] change output vpn_label to vpn_labels --- vpn/README.md | 2 +- vpn/outputs.tf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vpn/README.md b/vpn/README.md index 5a8a180..f917bad 100644 --- a/vpn/README.md +++ b/vpn/README.md @@ -86,5 +86,5 @@ No modules. | Name | Description | |------|-------------| -| [vpn\_label](#output\_vpn\_label) | VPN Label for Description field of Endpoint device (Cisco ASR) | +| [vpn\_labels](#output\_vpn\_labels) | VPN Labels for Description field of Endpoint device (Cisco ASR) | | [vpn\_tunnel\_endpoints](#output\_vpn\_tunnel\_endpoints) | VPN Tunnel Endpoint IP Addresses | diff --git a/vpn/outputs.tf b/vpn/outputs.tf index 9b24f7e..3f75c6b 100644 --- a/vpn/outputs.tf +++ b/vpn/outputs.tf @@ -9,8 +9,8 @@ output "vpn_tunnel_endpoints" { } } -output "vpn_label" { - description = "VPN Label for Description field of Endpoint device (Cisco ASR)" +output "vpn_labels" { + description = "VPN Labels for Description field of Endpoint device (Cisco ASR)" value = { for k in keys(local.vpn_settings) : k => { site = k label = format("aws:%v:%v:%v:%v", local.region, local.account_id, aws_vpn_connection.vpn[k].id, var.vpc_full_name)