-
Notifications
You must be signed in to change notification settings - Fork 1
/
outputs.tf
64 lines (52 loc) · 2.04 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
62
63
64
output "vpc_id" {
value = google_compute_network.this.id
description = "string || The ID of the created VPC in the form 'projects/(project-id)/global/networks/(vpc-name)'."
}
output "vpc_name" {
value = local.resource_name
description = "string ||| The name of the created VPC."
}
output "public_subnet_names" {
value = google_compute_subnetwork.public.*.name
description = "list(string) ||| The names of the public subnets"
}
output "public_subnets_ids" {
value = google_compute_subnetwork.public.*.id
description = "list(string) ||| The IDs of the public subnets"
}
output "public_cidrs" {
value = google_compute_subnetwork.public.*.ip_cidr_range
description = "list(string) ||| The network ranges of the public subnets"
}
output "public_subnet_self_links" {
value = google_compute_subnetwork.public.*.self_link
description = "list(string) ||| The self_link of each public subnet"
}
output "private_subnet_names" {
value = google_compute_subnetwork.private.*.name
description = "list(string) ||| The names of the private subnets"
}
output "private_subnets_ids" {
value = google_compute_subnetwork.private.*.id
description = "list(string) ||| The IDs of the private subnets"
}
output "private_cidrs" {
value = google_compute_subnetwork.private.*.ip_cidr_range
description = "list(string) ||| The network ranges of the private subnets"
}
output "private_subnet_self_links" {
value = google_compute_subnetwork.private.*.self_link
description = "list(string) ||| The self_link of each private subnet"
}
output "nat_id" {
value = google_compute_router_nat.this.id
description = "string ||| Id of Cloud NAT"
}
output "router_id" {
value = google_compute_router.this.id
description = "string ||| Id of Cloud Router"
}
output "vpc_access_connector" {
value = try(google_vpc_access_connector.serverless[0].name, "")
description = "string ||| The name of the VPC Access Connector that should be used by serverless to access the private subnetworks."
}