amplify-cli icon indicating copy to clipboard operation
amplify-cli copied to clipboard

Allow multiple S3 buckets

Open dmost714 opened this issue 3 years ago • 2 comments

Is this feature request related to a new or existing Amplify category?

storage

Is this related to another service?

No response

Describe the feature you'd like to request

I would like the ability to create multiple S3 buckets in the same project.

Why? The existing S3 bucket and associated lambda trigger operates on objects put into the bucket, transforming them into new objects. It is a best practice to put new objects into different bucket (to avoid recursive triggers).

➜  MyCoolProject git:(dev) amplify add storage
? Select from one of the below mentioned services: Content (Images, audio, video, etc.)
⚠️ Amazon S3 storage was already added to your project.

Describe the solution you'd like

I would like the amplify-cli to allow me to create more than one S3 bucket (and associated trigger), and would like the ability to give S3 triggers meaningful names.

Feature parity in Amplify Studio is nice to have.

Describe alternatives you've considered

I'll try to work around this limitation by adding the 2nd bucket and trigger via amplify add custom.

Additional context

No response

Is this something that you'd be interested in working on?

  • [ ] 👋 I may be able to implement this feature request
  • [ ] ⚠️ This feature might incur a breaking change

dmost714 avatar Jan 09 '22 17:01 dmost714

Thank you for providing this feedback!

johnpc avatar Jan 14 '22 21:01 johnpc

Related to https://github.com/aws-amplify/amplify-cli/issues/5836

nadetastic avatar Mar 12 '24 20:03 nadetastic

Thanks for the feature request. Multi-Bucket feature is available in Amplify Gen2, Please check out for more details here https://aws.amazon.com/blogs/mobile/add-multiple-storage-buckets-amplify/

Amplify Gen1 is being deprecated, we are not adding new features to it.

0618 avatar Aug 23 '24 20:08 0618

This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.

github-actions[bot] avatar Aug 23 '24 20:08 github-actions[bot]