Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Enhancement] - Ability to specify a specific bucket prefix to upload code to #19

Copy link
Copy link
@JustinH11235

Description

@JustinH11235
Issue body actions

As far as I can tell from the source, it seems like the user has no input to control the prefix of the uploaded code. The s3.upload_fileobj() is used but the key that would normally contain the prefix you wanted is hardcoded as shown in the linked line. I suggest that either the user can specify another command line option such as --prefix and give a prefix that way, or to add the functionality to --bucket, where I can write my-bucket-name/prefix and it will parse out the prefix, putting it as the start of the key parameter.

https://github.com/aws-samples/sagemaker-studio-image-build-cli/blob/master/sagemaker_studio_image_build/builder.py#L30

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.