Skip to content

destroy site

Tear down a utopia site: CloudFront distribution + origin S3 bucket (+ owned ACM cert when tagged).

bash
awsutopia destroy site <name> [--force] [--yes] [--dry-run] [--json]
bash
awsutopia destroy site www --yes

Same ownership rules as everything else: current project tags by default, --force for other utopia-tagged sites, untagged refused. Confirmation required unless --yes.

Destroy disables then deletes the distribution, best-effort removes the OAC and any ACM certs tagged utopia:kind=site-cert for that site name, then empties + deletes the origin bucket.

See Destroy policy.

Working name — your AWS account, your bill.