wraps cdn init
Deploy CDN infrastructure (S3 bucket + CloudFront distribution) to your AWS account. Optionally configures a custom domain with an ACM certificate.Hosting provider for your application. Accepted values:
vercel, aws, railway, other. Determines how IAM roles and OIDC are configured.AWS region to deploy the S3 bucket and supporting resources. The CloudFront distribution is always global.
Custom CDN domain (e.g.,
cdn.yourapp.com). An ACM certificate is requested automatically. You will need to add DNS validation records before the custom domain becomes active.Show a plan of all AWS resources that would be created without deploying.
wraps cdn status
Display the current state of your CDN infrastructure — S3 bucket, CloudFront distribution domain, custom domain, and configuration.AWS region to inspect.
wraps cdn verify
Check the DNS records and ACM certificate status for your custom CDN domain. Use this to confirm that DNS has propagated and the certificate is validated.AWS region of the CDN deployment.
wraps cdn upgrade
Attach a custom domain to the CloudFront distribution after the ACM certificate has been validated. Runwraps cdn verify first to confirm the certificate is ready.
This command is specifically for the two-step custom domain flow:
cdn init requests the certificate, and cdn upgrade attaches the validated domain to CloudFront.AWS region of the deployment to upgrade.
Skip confirmation prompts.
Show changes without applying them.
wraps cdn sync
Sync the deployed CDN infrastructure with the current configuration stored in local metadata. Use this to re-apply configuration after manual drift or to pick up config changes.AWS region of the deployment to sync.
wraps cdn destroy
Remove all CDN infrastructure deployed by Wraps from your AWS account — S3 bucket, CloudFront distribution, and ACM certificate.Skip the confirmation prompt.
AWS region of the deployment to destroy.
Show which resources would be deleted without deleting them.
