| starburst_cleanup_ecr | R Documentation |
Manually delete Docker images from ECR to save storage costs. Images will be rebuilt on next use (adds 3-5 min delay).
starburst_cleanup_ecr(force = FALSE, region = NULL)
force |
Delete all images immediately, ignoring TTL |
region |
AWS region (default: from config) |
Invisibly returns TRUE on success or FALSE if not
configured.
if (starburst_is_configured()) {
# Delete images past TTL
starburst_cleanup_ecr()
# Delete all images immediately (save $0.50/month)
starburst_cleanup_ecr(force = TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.