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