Skip to content

Commit

Permalink
change output syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Dugar committed Sep 24, 2019
1 parent 06e2ce3 commit daae11c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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)."
}

Expand Down

0 comments on commit daae11c

Please sign in to comment.