Beispiel #1
0
def destroy(ctx, compute_environment):
    """
    Destroy an existing compute environment.
    """

    mgr = BatchManager(yml=ctx.obj['CONFIG'])
    mgr.disable_compute_environment(compute_environment)
    time.sleep(1)
    mgr.destroy_compute_environment(compute_environment)
Beispiel #2
0
def disable(ctx, compute_environment):
    """
    Disable an existing compute environment.
    """
    mgr = BatchManager(yml=ctx.obj['CONFIG'])
    mgr.disable_compute_environment(compute_environment)