sceptre/cli.py
def update_with_change_set(ctx, environment, stack, verbose):
    """
    Updates the stack via change set.

    Updates ENVIRONMENT/STACK with prompt via change set and
    description.
    """
    env = get_env(ctx.obj["sceptre_dir"], environment, ctx.obj["options"])
    change_set_name = "-".join(["change-set", uuid1().hex])
    with change_set(env.stacks[stack], change_set_name):
        status = env.stacks[stack].wait_for_cs_completion(change_set_name)
        description = env.stacks[stack].describe_change_set(change_set_name)
        if not verbose:
            description = _simplify_change_set_description(description)
        write(description, ctx.obj["output_format"])
        if status != StackChangeSetStatus.READY:
            exit(1)
        if click.confirm("Proceed with stack update?"):
            env.stacks[stack].execute_change_set(change_set_name)

    Updates the stack via change set.

    Updates ENVIRONMENT/STACK with prompt via change set and
    description.
    
Updates the stack via change set.
Updates ENVIRONMENT/STACK with prompt via change set and
description.
Updates the stack via change set . Updates ENVIRONMENT / STACK with prompt via change set and description .
def update_with_change_set(ctx, environment, stack, verbose):
    env = get_env(ctx.obj["sceptre_dir"], environment, ctx.obj["options"])
    change_set_name = "-".join(["change-set", uuid1().hex])
    with change_set(env.stacks[stack], change_set_name):
        status = env.stacks[stack].wait_for_cs_completion(change_set_name)
        description = env.stacks[stack].describe_change_set(change_set_name)
        if not verbose:
            description = _simplify_change_set_description(description)
        write(description, ctx.obj["output_format"])
        if status != StackChangeSetStatus.READY:
            exit(1)
        if click.confirm("Proceed with stack update?"):
            env.stacks[stack].execute_change_set(change_set_name)
def update_with_change_set ( ctx , environment , stack , verbose ) : env = get_env ( ctx . obj [ "sceptre_dir" ] , environment , ctx . obj [ "options" ] ) change_set_name = "-" . join ( [ "change-set" , uuid1 ( ) . hex ] ) with change_set ( env . stacks [ stack ] , change_set_name ) : status = env . stacks [ stack ] . wait_for_cs_completion ( change_set_name ) description = env . stacks [ stack ] . describe_change_set ( change_set_name ) if not verbose : description = _simplify_change_set_description ( description ) write ( description , ctx . obj [ "output_format" ] ) if status != StackChangeSetStatus . READY : exit ( 1 ) if click . confirm ( "Proceed with stack update?" ) : env . stacks [ stack ] . execute_change_set ( change_set_name )
Updates the stack via change set.
Updates the stack via change set .
"""
    Updates the stack via change set.

    Updates ENVIRONMENT/STACK with prompt via change set and
    description.
    """
ctx
environment
stack
verbose