-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
34 lines (28 loc) · 934 Bytes
/
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
output "cidr" {
description = "Specifies the range of available subnets in the VPC."
value = try(sbercloud_vpc.this[0].cidr, "")
}
output "enterprise_project_id" {
description = "Specifies the enterprise project id of the VPC."
value = try(sbercloud_vpc.this[0].enterprise_project_id, "")
}
output "id" {
description = "The VPC ID in UUID format."
value = try(sbercloud_vpc.this[0].id, "")
}
output "name" {
description = "Specifies the name of the VPC."
value = try(sbercloud_vpc.this[0].name, "")
}
output "region" {
description = "Specifies the region in which to create the VPC."
value = try(sbercloud_vpc.this[0].region, "")
}
output "subnet_ids" {
description = "List of IDs of subnets"
value = sbercloud_vpc_subnet.this[*].id
}
output "subnet_cidr_blocks" {
description = "List of cidrs of subnets"
value = compact(sbercloud_vpc_subnet.this[*].cidr)
}