예제 #1
0
def delete(ctx, name):
    cli_success("Deleting template...")
    CloudFormation().delete(cf_template_name(name))
예제 #2
0
def stop(ctx, id):
    cli_success("Stopping experiment...")
    Fis().stop(id)
예제 #3
0
def update(ctx, path, role_arn, name):
    role_arn = role_arn or ConfigManager().get(TEMPLATE_ROLE_ARN_KEY)

    cli_success("Updating template...")
    Template(path, name).process(role_arn, CloudFormation().update)
예제 #4
0
def set(ctx, key, value):
    if ConfigManager().set(key, value):
        cli_success(f"'{key}' was set to '{value}'")
예제 #5
0
def delete(ctx, name):
    cli_success("Deleting automation...")
    CloudFormation().delete(cf_automation_name(name))
예제 #6
0
def update(ctx, schedule, template, name, image):
    cli_success("Updating automation...")
    Automation(name, schedule, template, image).process(CloudFormation().update)
예제 #7
0
def create(ctx, schedule, template, name, image):
    cli_success("Creating new automation...")
    Automation(name, schedule, template, image).process(CloudFormation().create)