-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
41 lines (34 loc) · 1.1 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
output "id" {
description = "ID of the cluster resource"
value = huaweicloud_cce_cluster.main.id
}
output "status" {
description = "Cluster status information"
value = huaweicloud_cce_cluster.main.status
}
output "certificate_clusters" {
description = <<DES
The certificate clusters:
* `name` - The cluster name;
* `server` - The server IP address;
* `certificate_authority_data` - The certificate data.
DES
value = huaweicloud_cce_cluster.main.certificate_clusters
}
output "certificate_users" {
description = <<DES
The certificate clusters:
* `name` - The user name;
* `client_certificate_data` - The client certificate data;
* `client_key_data` - The client key data.
DES
value = huaweicloud_cce_cluster.main.certificate_users
}
output "security_group_id" {
description = "Security group ID of the cluster"
value = huaweicloud_cce_cluster.main.security_group_id
}
output "kube_config_raw" {
description = "Raw Kubernetes config to be used by kubectl and other compatible tools"
value = huaweicloud_cce_cluster.main.kube_config_raw
}