forked from terraform-redhat/terraform-rhcs-rosa-classic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
50 lines (41 loc) · 1.84 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
output "cluster_id" {
value = rhcs_cluster_rosa_classic.rosa_classic_cluster.id
description = "Unique identifier of the cluster."
}
output "api_url" {
value = rhcs_cluster_rosa_classic.rosa_classic_cluster.api_url
description = "URL of the API server."
}
output "console_url" {
value = rhcs_cluster_rosa_classic.rosa_classic_cluster.console_url
description = "URL of the console."
}
output "domain" {
value = rhcs_cluster_rosa_classic.rosa_classic_cluster.domain
description = "DNS domain of cluster."
}
output "infra_id" {
value = rhcs_cluster_rosa_classic.rosa_classic_cluster.infra_id
description = "The ROSA cluster infrastructure ID."
}
output "current_version" {
value = rhcs_cluster_rosa_classic.rosa_classic_cluster.current_version
description = "The currently running version of OpenShift on the cluster, for example '4.11.0'."
}
output "state" {
value = rhcs_cluster_rosa_classic.rosa_classic_cluster.state
description = "The state of the cluster."
}
output "cluster_admin_username" {
value = rhcs_cluster_rosa_classic.rosa_classic_cluster.admin_credentials == null ? null : rhcs_cluster_rosa_classic.rosa_classic_cluster.admin_credentials.username
description = "The username of the admin user."
}
output "cluster_admin_password" {
value = rhcs_cluster_rosa_classic.rosa_classic_cluster.admin_credentials == null ? null : rhcs_cluster_rosa_classic.rosa_classic_cluster.admin_credentials.password
description = "The password of the admin user."
sensitive = true
}
output "private_hosted_zone_id" {
value = rhcs_cluster_rosa_classic.rosa_classic_cluster.private_hosted_zone == null ? null : rhcs_cluster_rosa_classic.rosa_classic_cluster.private_hosted_zone.id
description = "ID assigned by AWS to private Route 53 hosted zone associated with intended shared VPC"
}