Skip to content

Make the parameter bucketName in the rocket-static-sites-aws-infrastructure package optional with a default value #482

@javiertoledo

Description

@javiertoledo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestNew feature or requestgood first issueGood for newcomersprovider:awsRelated to the AWS cloud providersize: MTasks where you have to change some files.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions