-
Notifications
You must be signed in to change notification settings - Fork 16
/
outputs.tf
61 lines (51 loc) · 1.05 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#
# Outputs for the OpenVPN terraform module.
#
# Copyright 2016-2022, Frederico Martins
# Author: Frederico Martins <http://github.com/fscm>
#
# SPDX-License-Identifier: MIT
#
# This program is free software. You can use it and/or modify it under the
# terms of the MIT License.
#
output "allowed_cidrs" {
sensitive = false
value = var.vpn_allowed_cidrs
}
output "cidr" {
sensitive = false
value = var.vpn_cidr
}
output "dns" {
sensitive = false
value = var.vpn_dns
}
output "fqdn" {
sensitive = false
value = [aws_route53_record.private.*.fqdn]
}
output "hostname" {
sensitive = false
value = [aws_instance.openvpn.*.private_dns]
}
output "id" {
sensitive = false
value = [aws_instance.openvpn.*.id]
}
output "ip" {
sensitive = false
value = [aws_instance.openvpn.*.private_ip]
}
output "security_group" {
sensitive = false
value = aws_security_group.openvpn.id
}
output "ssh_key" {
sensitive = false
value = var.keyname
}
output "ssh_port" {
sensitive = false
value = var.ssh_port
}