def with_tied_requests(template_layers_config):
    """
    Enabled tied requests for the last layer in a layered micro-service
    application.
    """
    layers_config = [
        layer_config for
        layer_config in template_layers_config]
    layers_config[-2] = \
        layers_config[-2]._replace(
            use_tied_requests=True)
    return layers_config