Client Applications
We use S3 buckets to host files, and Amazon CloudFront to servce the files.

CloudFront to S3
Minimal working example
The following code creates a client application that will be reachable from https://kattehotell.dev.bymoslo.net:
Note
The domain resulting is automatically inferred using the value of environment, i.e.:
Features
Additional domains
Sometimes we wish to have a client application reachable from multiple URLs. Additional URLs can be added as follows:
This provisions a client application reachable from 3 different URLs:
- https://kattehotell.dev.bymoslo.net (default)
- https://hotell-for-katter.dev.bymoslo.net
- https://cat-hotel.dev.bymoslo.net