def METHOD_NAME(cluster_name, shards):
    shard_configs_strings = [shard.get_server_option_string() for shard in shards]
    server_sql = SERVER_TEMPLATE.format(
        server_name=cluster_name,
        partitions=',\n'.join(shard_configs_strings)
    )
    return server_sql