Skip to content

Commit

Permalink
Add VPN ID into output (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
snovikov authored May 28, 2020
1 parent 29fb3ea commit 983778c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ output "customer_gateway_id" {
output "vpn_connection" {
description = "VPN connection details"
value = {
id = element(concat(aws_vpn_connection.this.*.id, list("")), 0)
transit_gateway_attachment_id = element(concat(aws_vpn_connection.this.*.transit_gateway_attachment_id, list("")), 0)
tunnel1_address = element(concat(aws_vpn_connection.this.*.tunnel1_address, list("")), 0)
tunnel1_cgw_inside_address = element(concat(aws_vpn_connection.this.*.tunnel1_cgw_inside_address, list("")), 0)
Expand Down

0 comments on commit 983778c

Please sign in to comment.