starburst_cleanup_ecr: Clean up staRburst ECR images

View source: R/setup.R

starburst_cleanup_ecrR Documentation

Clean up staRburst ECR images

Description

Manually delete Docker images from ECR to save storage costs. Images will be rebuilt on next use (adds 3-5 min delay).

Usage

starburst_cleanup_ecr(force = FALSE, region = NULL)

Arguments

force

Delete all images immediately, ignoring TTL

region

AWS region (default: from config)

Value

Invisibly returns TRUE on success or FALSE if not configured.

Examples


if (starburst_is_configured()) {
  # Delete images past TTL
  starburst_cleanup_ecr()

  # Delete all images immediately (save $0.50/month)
  starburst_cleanup_ecr(force = TRUE)
}


starburst documentation built on March 19, 2026, 5:08 p.m.