Exemplo n.º 1
0
def delete(ctx, name):
    cli_success("Deleting template...")
    CloudFormation().delete(cf_template_name(name))
Exemplo n.º 2
0
def stop(ctx, id):
    cli_success("Stopping experiment...")
    Fis().stop(id)
Exemplo n.º 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)
Exemplo n.º 4
0
def set(ctx, key, value):
    if ConfigManager().set(key, value):
        cli_success(f"'{key}' was set to '{value}'")
Exemplo n.º 5
0
def delete(ctx, name):
    cli_success("Deleting automation...")
    CloudFormation().delete(cf_automation_name(name))
Exemplo n.º 6
0
def update(ctx, schedule, template, name, image):
    cli_success("Updating automation...")
    Automation(name, schedule, template, image).process(CloudFormation().update)
Exemplo n.º 7
0
def create(ctx, schedule, template, name, image):
    cli_success("Creating new automation...")
    Automation(name, schedule, template, image).process(CloudFormation().create)