Create
Create a CloudFront CDN distribution with S3 bucket for static assets
tapit create cloudfront name=distribution_name [description='My CDN'] [variable_prefix=ASSET] [expiry_days=30] [--ignore-existing]
Required
- name
Parameters
name: Name for the CloudFront distribution (required, lowercase alphanumeric with hyphens, 3-45 chars)description: Description of the distribution’s purposevariable_prefix: Prefix for environment variables (default: ASSET, creates ASSET_HOST and ASSET_S3_BUCKET)expiry_days: Number of days before S3 objects expire (default: 30, max: 365, disabled if set to 0)--ignore-existing: Skip creation if a resource with the same name already exists (useful for idempotent scripts)