/verify/rollback/

Rollback Procedure

The site can be republished from checked-in catalog, source-copy, template, and script inputs. Rollback must use one of these repeatable paths:

  1. Rebuild and republish a known-good commit through scripts/validate-apex-catalog.sh and scripts/publish-apex-site.sh.
  2. Restore prior S3 object versions from the versioned private site bucket, then invalidate the CloudFront distribution.

Rollback requirements

bucket versioning
modules/static-site/main.tf aws_s3_bucket_versioning.origin Enabled
publish script
scripts/publish-apex-site.sh
validation gate
scripts/validate-apex-catalog.sh
cloudfront invalidation
aws cloudfront create-invalidation --paths "/*"

Project release files are excluded from site cleanup, so a site rollback does not remove published release objects.