Skip to content

Fix endpoint url correctly for DynamoDB TTL #1398

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

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

kakakakakku
Copy link
Contributor

I found that the endpoint URL for DynamoDB TTL has a wrong double slash //. I fixed it to single slash /.

Other document (e.g., for SNS) also uses the format localhost:4566/_aws/.

It worked good on my sandbox environment😀

$ curl -X DELETE localhost:4566/_aws/dynamodb/expired
{"ExpiredItems": 1}%

Thanks!

Copy link

⚡️ Deploying PR Preview...

@viren-nadkarni
Copy link
Member

Thanks for fixing this @kakakakakku !

@viren-nadkarni viren-nadkarni merged commit abe922e into localstack:main Jul 23, 2024
4 checks passed
@kakakakakku kakakakakku deleted the dynamodb branch July 23, 2024 06:37
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.

2 participants