-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
44 lines (36 loc) · 1.21 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
output "vpc_id" {
description = "The VPC ID in UUID format"
value = huaweicloud_vpc.main.id
}
output "vpc_status" {
description = "The current status of the VPC"
value = huaweicloud_vpc.main.status
}
output "vpc_cidr" {
description = "The CIDR of the VPC"
value = huaweicloud_vpc.main.cidr
}
output "private_subnets_cidrs" {
description = "List of CIDRs of Private Subnets"
value = huaweicloud_vpc_subnet.private.*.cidr
}
output "public_subnets_cidrs" {
description = "List of CIDRs of Public Subnets"
value = huaweicloud_vpc_subnet.public.*.cidr
}
output "private_subnets_ids" {
description = "List of IDs of Private Subnets in UUID format"
value = huaweicloud_vpc_subnet.private.*.id
}
output "public_subnets_ids" {
description = "List of IDs of Public Subnets in UUID format"
value = huaweicloud_vpc_subnet.public.*.id
}
output "private_subnets_subnet_ids" {
description = "List of IDs of the IPv4 subnet (Native OpenStack API)"
value = huaweicloud_vpc_subnet.private.*.subnet_id
}
output "public_subnets_subnet_ids" {
description = "List of IDs of the IPv4 subnet (Native OpenStack API)"
value = huaweicloud_vpc_subnet.public.*.subnet_id
}