def format_region_cluster_map()

in Onboarding/AWS/Utils.py [0:0]


def format_region_cluster_map(region_cluster_map: Dict[str, List[str]], color, with_color) -> List[str]:
    messages = []
    for region, clusters in region_cluster_map.items():
        messages.append(add_color(f"{region}: {' '.join(clusters)}", color, with_color))
    return messages