Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Upload S3 for Origin server-side-website #357

Open
revanhernandy opened this issue Sep 4, 2023 · 0 comments
Open

Custom Upload S3 for Origin server-side-website #357

revanhernandy opened this issue Sep 4, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@revanhernandy
Copy link

Start from the Use-case

Hello,

Is it possible to make 1 s3 into 5 different projects for Server-side websites?

Let says :
BucketName : live-project
Path/Folder:

  • /prod/
  • /staging/
  • /dev/

I have a construct like this for the prod branch
constructs:
website:
type: server-side-website
assets:
'/css/': prod/css
'/js/
': prod/js
'/images/*': prod/images

I think the only question is, how to upload the package into the bucket with the folder, and can it be re-used the existing bucket?

Example Config

No response

Implementation Idea

constructs:
website:
type: server-side-website
uploadPath: prod/
assets:
'/css/': prod/css
'/js/
': prod/js
'/images/*': prod/images

@revanhernandy revanhernandy added the enhancement New feature or request label Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant