1
- output "vpn_endpoint_arn" {
2
- value = local. enabled ? join (" " , aws_ec2_client_vpn_endpoint. default [* ]. arn ) : null
3
- description = " The ARN of the Client VPN Endpoint Connection."
4
- }
5
-
6
- output "vpn_endpoint_id" {
7
- value = local. enabled ? join (" " , aws_ec2_client_vpn_endpoint. default [* ]. id ) : null
8
- description = " The ID of the Client VPN Endpoint Connection."
9
- }
10
-
11
- output "vpn_endpoint_dns_name" {
12
- value = local. enabled ? join (" " , aws_ec2_client_vpn_endpoint. default [* ]. dns_name ) : null
13
- description = " The DNS Name of the Client VPN Endpoint Connection."
14
- }
15
-
16
1
output "client_configuration" {
17
2
value = local. enabled ? join (" " , data. awsutils_ec2_client_vpn_export_client_config . default [* ]. client_configuration ) : null
18
3
description = " VPN Client Configuration data."
@@ -34,3 +19,38 @@ output "full_client_configuration" {
34
19
description = " Client configuration including client certificate and private key"
35
20
sensitive = true
36
21
}
22
+
23
+ output "log_group_arn" {
24
+ value = local. logging_enabled ? module. cloudwatch_log . log_group_arn : null
25
+ description = " The ARN of the CloudWatch Log Group used for Client VPN connection logging."
26
+ }
27
+
28
+ output "log_group_name" {
29
+ value = local. logging_enabled ? module. cloudwatch_log . log_group_name : null
30
+ description = " The name of the CloudWatch Log Group used for Client VPN connection logging."
31
+ }
32
+
33
+ output "security_group_id" {
34
+ value = local. security_group_enabled ? module. vpn_security_group . id : null
35
+ description = " The ID of the security group associated with the Client VPN endpoint."
36
+ }
37
+
38
+ output "security_group_name" {
39
+ value = local. security_group_enabled ? module. vpn_security_group . name : null
40
+ description = " The ID of the security group associated with the Client VPN endpoint."
41
+ }
42
+
43
+ output "vpn_endpoint_arn" {
44
+ value = local. enabled ? join (" " , aws_ec2_client_vpn_endpoint. default [* ]. arn ) : null
45
+ description = " The ARN of the Client VPN Endpoint Connection."
46
+ }
47
+
48
+ output "vpn_endpoint_dns_name" {
49
+ value = local. enabled ? join (" " , aws_ec2_client_vpn_endpoint. default [* ]. dns_name ) : null
50
+ description = " The DNS Name of the Client VPN Endpoint Connection."
51
+ }
52
+
53
+ output "vpn_endpoint_id" {
54
+ value = local. enabled ? join (" " , aws_ec2_client_vpn_endpoint. default [* ]. id ) : null
55
+ description = " The ID of the Client VPN Endpoint Connection."
56
+ }
0 commit comments