def format_failed_clusters()

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


def format_failed_clusters(failed_clusters_map: Dict[str, List[str]], with_color: bool) -> List[str]:
    failure_message = add_color("Failed to grant MDC permissions to the following clusters:", RED, with_color)
    return [failure_message] + format_region_cluster_map(failed_clusters_map, RED, with_color)