From 3ecc5bb8498c249fc8413402e457dbe62bedf6ef Mon Sep 17 00:00:00 2001 From: Steven Nemetz Date: Sun, 29 May 2022 09:41:54 -0700 Subject: [PATCH] Add output for VPC endpoints --- outputs.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/outputs.tf b/outputs.tf index 0086326..bf8b72a 100644 --- a/outputs.tf +++ b/outputs.tf @@ -7,6 +7,10 @@ output "transfer_endpoint" { description = "The endpoint of the Transfer Server" value = module.this.enabled ? join("", aws_transfer_server.default.*.endpoint) : null } +output "transfer_vpc_endpoint_details" { + description = "Transfer server VPC endpoint details" + value = module.this.enabled && local.is_vpc ? join("", aws_transfer_server.default.*.endpoint_details) : null +} output "elastic_ips" { description = "Provisioned Elastic IP IDs"