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

fix(datastore): correct prefix to list with S3 storage #376

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

seboudry
Copy link
Contributor

@seboudry seboudry commented Oct 29, 2024

According to https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html#API_ListObjectsV2_ResponseSyntax, for ListObjectsV2, the Prefix must:

  • not begins with a /
  • ends with a /

But curently, the used prefix is something like /layers/<namespace>/<layer>/<run>.
So we need to transform it like layers/<namespace>/<layer>/<run>/ to get some list results.

fix #332

@LucasMrqes LucasMrqes merged commit 96f8443 into padok-team:main Oct 30, 2024
5 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TerraformLayer "Error getting last Result"
2 participants