def keep_resources(request):
    """
    Presence of `keep_resources` retains the AWS resources created by cloudformation
    during the test run. By default, the resources are deleted after the run.
    """
    return request.config.getoption("--keep-resources")