-
Notifications
You must be signed in to change notification settings - Fork 99
Description
Feature Request
Description
They say that caching and naming things are the two toughest problems in computing. When using the static website rocket for AWS, right now the parameter bucketName is required. It would be nice to have a default name like appName + 'static-site' or something like that to free developers to come of such enormous responsibility.
Possible Solution
In the file packages/rocket-static-sites-aws-infrastructure/src/static-website-stack.ts add a default value to the bucketName parameter and make it optional in the AWSStaticSiteParams type.
Additional information
There's a "hidden trap" in this change because in the current implementation we don't have access to the application config, where we can pick the application name, so this would need to rework the InfrastructureRocket interface in the AWS infrastructure module.