From daae11c6d0955e6f485041ada3e5f7245b36e989 Mon Sep 17 00:00:00 2001 From: Nikita Dugar Date: Tue, 24 Sep 2019 13:04:15 +0530 Subject: [PATCH] change output syntax --- outputs.tf | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/outputs.tf b/outputs.tf index 91d558d..1e0cf73 100644 --- a/outputs.tf +++ b/outputs.tf @@ -2,16 +2,12 @@ #Description : Terraform sftp module variables. output "id" { - value = concat( - aws_transfer_server.transfer_server.*.id - )[0] + value = join("", aws_transfer_server.transfer_server.*.id) description = "The Server ID of the Transfer Server (e.g. s-12345678)." } output "transfer_server_endpoint" { - value = concat( - aws_transfer_server.transfer_server.*.endpoint - )[0] + value = join("", aws_transfer_server.transfer_server.*.endpoint) description = "The endpoint of the Transfer Server (e.g. s-12345678.server.transfer.REGION.amazonaws.com)." }