-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathoutputs.tf
More file actions
49 lines (40 loc) · 1.28 KB
/
outputs.tf
File metadata and controls
49 lines (40 loc) · 1.28 KB
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
output "vpc_id" {
value = data.aws_vpc.this.id
description = "string ||| "
}
output "vpc_cidr" {
value = data.aws_vpc.this.cidr_block
description = "string ||| "
}
output "public_subnet_ids" {
value = tolist(local.public_subnets)
description = "list(string) ||| "
}
output "public_cidrs" {
value = [for s in data.aws_subnet.public : s.cidr_block]
description = "list(string) ||| "
}
output "private_subnet_ids" {
value = tolist(local.private_subnets)
description = "list(string) ||| "
}
output "private_cidrs" {
value = [for s in data.aws_subnet.private : s.cidr_block]
description = "list(string) ||| "
}
output "intra_subnet_ids" {
value = tolist(local.intra_subnets)
description = "list(string) ||| "
}
output "intra_cidrs" {
value = [for s in data.aws_subnet.intra : s.cidr_block]
description = "list(string) ||| "
}
output "service_discovery_id" {
value = aws_service_discovery_private_dns_namespace.service.id
description = "string ||| AWS ID for the Private DNS namespace created in this network."
}
output "service_discovery_name" {
value = aws_service_discovery_private_dns_namespace.service.name
description = "string ||| The root TLD for the Private DNS namespace created in this network."
}