Open
Description
The create
command (e.g.: static-deployer create ...
) should:
- Create the specified bucket (always private) if it doesn't exist;
- Create the CloudFront distribution if it doesn't exist;
2.1. May need to support an SPA (single page application) flag;
2.2. May need to support custom error responses for SPA - to redirect 404 to /index.html for example;
2.3. Enable OAI to access a private S3 bucket; - Create or associate domain and alternate domains;
- Create or associate SSL certificates from ACM (needs to issue them in the NV region due to AWS limitations);