From a21c3750d6eba7a00076ff0e5cd2c745a1bfb49b Mon Sep 17 00:00:00 2001 From: Murali Krishnasamy Date: Wed, 1 Nov 2023 17:35:21 -0400 Subject: [PATCH] added metadata for dash --- libs/platforms/rosa/terraform/terraform.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/platforms/rosa/terraform/terraform.py b/libs/platforms/rosa/terraform/terraform.py index dded024..31baad3 100644 --- a/libs/platforms/rosa/terraform/terraform.py +++ b/libs/platforms/rosa/terraform/terraform.py @@ -310,6 +310,9 @@ def create_cluster(self, platform, cluster_name): cluster_info = platform.environment["clusters"][cluster_name] cluster_info["uuid"] = self.environment["uuid"] cluster_info["install_method"] = "terraform" + cluster_info["per_template_count"] = platform.environment['clusters_per_apply'] + cluster_info["tf_count"] = platform.environment['clusters_per_apply_count'] + cluster_info["total_count"] = platform.environment['cluster_count'] self.logging.info(f"Creating cluster {cluster_info['index']} on ROSA with name {cluster_name} and {cluster_info['workers']} workers") cluster_info["path"] = platform.environment["path"] + "/" + cluster_name os.mkdir(cluster_info["path"])