forked from terraform-redhat/terraform-rhcs-rosa-classic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
86 lines (69 loc) · 3.05 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
output "cluster_id" {
value = module.rosa_cluster_classic.cluster_id
description = "Unique identifier of the cluster."
}
output "api_url" {
value = module.rosa_cluster_classic.api_url
description = "URL of the API server."
}
output "console_url" {
value = module.rosa_cluster_classic.console_url
description = "URL of the console."
}
output "domain" {
value = module.rosa_cluster_classic.domain
description = "DNS domain of cluster."
}
output "infra_id" {
value = module.rosa_cluster_classic.infra_id
description = "The ROSA cluster infrastructure ID."
}
output "current_version" {
value = module.rosa_cluster_classic.current_version
description = "The currently running version of OpenShift on the cluster, for example '4.11.0'."
}
output "state" {
value = module.rosa_cluster_classic.state
description = "The state of the cluster."
}
output "cluster_admin_username" {
value = module.rosa_cluster_classic.cluster_admin_username
description = "The username of the admin user."
}
output "cluster_admin_password" {
value = module.rosa_cluster_classic.cluster_admin_password
description = "The password of the admin user."
sensitive = true
}
output "private_hosted_zone_id" {
value = module.rosa_cluster_classic.private_hosted_zone_id
description = "ID assigned by AWS to private Route 53 hosted zone associated with intended shared VPC"
}
output "account_role_prefix" {
value = var.create_account_roles ? module.account_iam_resources[0].account_role_prefix: null
description = "The prefix used for all generated AWS resources."
}
output "account_roles_arn" {
value = var.create_account_roles ? module.account_iam_resources[0].account_roles_arn : null
description = "A map of Amazon Resource Names (ARNs) associated with the AWS IAM roles created. The key in the map represents the name of an AWS IAM role, while the corresponding value represents the associated Amazon Resource Name (ARN) of that role."
}
output "path" {
value = var.create_account_roles ? module.account_iam_resources[0].path: null
description = "The arn path for the account/operator roles as well as their policies."
}
output "oidc_config_id" {
value = var.create_oidc ? module.oidc_config_and_provider[0].oidc_config_id: null
description = "The unique identifier associated with users authenticated through OpenID Connect (OIDC) generated by this OIDC config."
}
output "oidc_endpoint_url" {
value = var.create_oidc ? module.oidc_config_and_provider[0].oidc_endpoint_url: null
description = "Registered OIDC configuration issuer URL, generated by this OIDC config."
}
output "operator_role_prefix" {
value = var.create_operator_roles ? module.operator_roles[0].operator_role_prefix : null
description = "Prefix used for generated AWS operator policies."
}
output "operator_roles_arn" {
value = var.create_operator_roles ? module.operator_roles[0].operator_roles_arn : null
description = "List of Amazon Resource Names (ARNs) for all operator roles created."
}