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

Storage file structure and S3 lifecycle transitions #611

Closed
ffxsam opened this issue Apr 8, 2018 · 3 comments · Fixed by #648
Closed

Storage file structure and S3 lifecycle transitions #611

ffxsam opened this issue Apr 8, 2018 · 3 comments · Fixed by #648
Labels
Storage Related to Storage components/category

Comments

@ffxsam
Copy link
Contributor

ffxsam commented Apr 8, 2018

Just a quick note—a flaw, maybe—on Storage:

I realized due to the directory structure (public|private)/<userId>/..., it's impossible to have an S3 lifecycle transition rule use a prefix. Typically I might set a prefix like files/original/, but this isn't possible with Amplify. If prefixes supported wildcards, we could do something like private/*/original/, but that's not possible.

This isn't necessarily a bug, just something I wanted to bring up as a caveat. And this is a good example of why I pick and choose which parts of Amplify I use. Auth is great, but I'll likely never use Storage due to limitations like this one.

@mlabieniec mlabieniec added Storage Related to Storage components/category enhancement labels Apr 9, 2018
@mlabieniec
Copy link
Contributor

@ffxsam thanks for the feedback, we are working on making those prefixes configurable (this sprint). If the prefixes were configurable would this solve for this particular use case? Also can you provide some more details in regards to what you might want to see there. @powerful23 fyi

@ffxsam
Copy link
Contributor Author

ffxsam commented Apr 11, 2018

Yes, it would definitely work for this use case!

One of my issues with Amplify so far is that it boxes us in too much by removing customizability. Allowing us to specify our own key prefix would be really helpful.

@github-actions
Copy link

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels or Discussions for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Storage Related to Storage components/category
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants