-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutputs.tf
41 lines (28 loc) · 1.03 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
output "vpn_instance_public_ip" {
value = aws_eip.vpn.public_ip
description = "The public IP address of the EC2 instance in the AWS VPN VPC"
}
output "vpn_instance_private_ip" {
value = module.vpn_instance.private_ip
description = "The private IP address of the EC2 instance in the AWS VPN VPC"
}
output "libreswan_instance_public_ip" {
value = aws_eip.libreswan.public_ip
description = "The public IP address of the EC2 instance in the Libreswan VPC"
}
output "libreswan_instance_private_ip" {
value = module.libreswan_instance.private_ip
description = "The private IP address of the EC2 instance in the Libreswan VPC"
}
output "ssh_key_file_name" {
value = basename(local_sensitive_file.this.filename)
description = "The name of the file that contains the private SSH key used by the EC2 instances"
}
output "vpn_region" {
value = var.region.vpn_vpc
description = "The region in which the AWS VPN resides"
}
output "vpn_connection_id" {
value = aws_vpn_connection.this.id
description = "The ID of the AWS VPN"
}