-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
54 lines (44 loc) · 1.46 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
output "arn" {
value = join("", aws_efs_file_system.default.*.arn)
description = "EFS ARN"
}
output "id" {
value = join("", aws_efs_file_system.default.*.id)
description = "EFS ID"
}
output "host" {
value = module.dns.hostname
description = "Route53 DNS hostname for the EFS"
}
output "dns_name" {
value = local.dns_name
description = "EFS DNS name"
}
output "mount_target_dns_names" {
value = coalescelist(aws_efs_mount_target.default.*.dns_name, [""])
description = "List of EFS mount target DNS names"
}
output "mount_target_ids" {
value = coalescelist(aws_efs_mount_target.default.*.id, [""])
description = "List of EFS mount target IDs (one per Availability Zone)"
}
output "mount_target_ips" {
value = coalescelist(aws_efs_mount_target.default.*.ip_address, [""])
description = "List of EFS mount target IPs (one per Availability Zone)"
}
output "network_interface_ids" {
value = coalescelist(aws_efs_mount_target.default.*.network_interface_id, [""])
description = "List of mount target network interface IDs"
}
output "security_group_id" {
value = join("", aws_security_group.efs.*.id)
description = "EFS Security Group ID"
}
output "security_group_arn" {
value = join("", aws_security_group.efs.*.arn)
description = "EFS Security Group ARN"
}
output "security_group_name" {
value = join("", aws_security_group.efs.*.name)
description = "EFS Security Group name"
}