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

Ability to change the object names / object name prefixes #43

Open
C0DK opened this issue Jul 11, 2023 · 1 comment
Open

Ability to change the object names / object name prefixes #43

C0DK opened this issue Jul 11, 2023 · 1 comment
Labels
kind/enhancement Improvements or new features

Comments

@C0DK
Copy link

C0DK commented Jul 11, 2023

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

I am currently syncing a folder as per the static website guide, in a folder with a path like ../landingpage/dist/ - this makes both each bucket item a bit annoying, for a resource-name perspective (i.e landingpage-synced-folder-../landingpage/dist/index.html) - would have preferred an option to change these, i.e just a function mapping path -> ressource_name.

Furthermore, the actual bucket object names get a peculiar path: bucket/../landingpage/dist/index.html.

Wanted behavior

Could one either get the possibility (via a lambda) to manually set these names and/or simply a flag to set the name relative to the path? (which would result in landingpage-synced-folder-index.html).

@C0DK C0DK added kind/enhancement Improvements or new features needs-triage Needs attention from the triage team labels Jul 11, 2023
@scottslowe scottslowe removed the needs-triage Needs attention from the triage team label Jul 13, 2023
@antdking
Copy link

antdking commented Dec 9, 2023

The peculiar object name is likely caused by this line here, where the provider assumes the input path does not have a trailing slash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

3 participants