예제 #1
0
파일: stack.py 프로젝트: DareLondon/velvet
def delete_stack(stack_id=None):
    """Delete a stack"""

    if stack_id is None:
        if 'stack_id' not in env:
            raise Exception('Stack name not defined')
        stack_id = env.stack_id

    delete_failed_stacks = None
    if 'delete_failed_stacks' in env:
        delete_failed_stacks = env.delete_failed_stacks

    return cf_stack.delete_stack(stack_id,
                       delete_failed_stacks=delete_failed_stacks)
예제 #2
0
파일: stack.py 프로젝트: markosamuli/velvet
def delete_stack(stack_id=None):
    """Delete a stack"""

    if stack_id is None:
        if 'stack_id' not in env:
            raise Exception('Stack name not defined')
        stack_id = env.stack_id

    delete_failed_stacks = None
    if 'delete_failed_stacks' in env:
        delete_failed_stacks = env.delete_failed_stacks

    return cf_stack.delete_stack(stack_id,
                                 delete_failed_stacks=delete_failed_stacks)
예제 #3
0
def delete_stack(stack_name, environment, project):
    return cf_stack.delete_stack(stack_name, environment, project)
예제 #4
0
def delete_stack(stack_name, environment, project):
	return cf_stack.delete_stack(stack_name, environment, project)