Skip to content

Commit 1b08dce

Browse files
iamar7Md Anam Raihan
andauthored
feat: exposed the following outputs in the fs loud submodule: master_url, operating_system and master_status (#370)
Co-authored-by: Md Anam Raihan <[email protected]>
1 parent 0295160 commit 1b08dce

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

modules/fscloud/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ No resources.
6262
| <a name="output_cluster_name"></a> [cluster\_name](#output\_cluster\_name) | Name of the created cluster |
6363
| <a name="output_cos_crn"></a> [cos\_crn](#output\_cos\_crn) | CRN of the COS instance |
6464
| <a name="output_ingress_hostname"></a> [ingress\_hostname](#output\_ingress\_hostname) | Ingress hostname |
65+
| <a name="output_master_status"></a> [master\_status](#output\_master\_status) | The status of the Kubernetes master. |
66+
| <a name="output_master_url"></a> [master\_url](#output\_master\_url) | The URL of the Kubernetes master. |
6567
| <a name="output_ocp_version"></a> [ocp\_version](#output\_ocp\_version) | Openshift Version of the cluster |
68+
| <a name="output_operating_system"></a> [operating\_system](#output\_operating\_system) | The operating system of the workers in the default worker pool. |
6669
| <a name="output_private_service_endpoint_url"></a> [private\_service\_endpoint\_url](#output\_private\_service\_endpoint\_url) | Private service endpoint URL |
6770
| <a name="output_region"></a> [region](#output\_region) | Region cluster is deployed in |
6871
| <a name="output_resource_group_id"></a> [resource\_group\_id](#output\_resource\_group\_id) | Resource group ID the cluster is deployed in |

modules/fscloud/outputs.tf

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,18 @@ output "private_service_endpoint_url" {
5656
description = "Private service endpoint URL"
5757
value = module.fscloud.private_service_endpoint_url
5858
}
59+
60+
output "master_url" {
61+
description = "The URL of the Kubernetes master."
62+
value = module.fscloud.master_url
63+
}
64+
65+
output "operating_system" {
66+
description = "The operating system of the workers in the default worker pool."
67+
value = module.fscloud.operating_system
68+
}
69+
70+
output "master_status" {
71+
description = "The status of the Kubernetes master."
72+
value = module.fscloud.master_status
73+
}

0 commit comments

Comments
 (0)