Example #1
0
def create(ctx, compute_environment):
    """
    Create a new compute environment.
    """
    mgr = BatchManager(yml=ctx.obj['CONFIG'])
    mgr.create_compute_environment(compute_environment)
Example #2
0
def create(ctx, compute_environment):
    """
    Create a new compute environment.
    """
    mgr = BatchManager(filename=ctx.obj['CONFIG_FILE'])
    mgr.create_compute_environment(compute_environment)