-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutputs.tf
More file actions
23 lines (22 loc) · 817 Bytes
/
outputs.tf
File metadata and controls
23 lines (22 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Output kubernetes resource
output "this_k8s_name" {
description = "Name of the kunernetes cluster."
value = concat(alicloud_cs_managed_kubernetes.this.*.name, [""])[0]
}
output "this_k8s_id" {
description = "ID of the kunernetes cluster."
value = concat(alicloud_cs_managed_kubernetes.this.*.id, [""])[0]
}
output "this_k8s_node_pool_id" {
description = "ID of the kunernetes node pool."
value = concat(alicloud_cs_kubernetes_node_pool.this.*.id, [""])[0]
}
// Output VPC
output "this_vswitch_ids" {
description = "List ID of the VSwitches."
value = local.vswitch_ids
}
output "this_security_group_id" {
description = "ID of the Security Group used to deploy kubernetes cluster."
value = concat(alicloud_cs_managed_kubernetes.this.*.security_group_id, [""])[0]
}