←back to thread

194 points kbumsik | 1 comments | | HN request time: 0s | source
Show context
mdaniel ◴[] No.41889095[source]
All this mocking when moto exists is just :-( https://github.com/awslabs/git-remote-s3/blob/v0.1.19/test/r...

Actually, moto is just one bandaid for that problem - there are SO MANY s3 storage implementations, including the pre-license-switch Apache 2 version of minio (one need not use a bleeding edge for something as relatively stable as the S3 Api)

replies(3): >>41889194 #>>41889525 #>>41896008 #
SahAssar ◴[] No.41889194[source]
Do you mean boto (the python SDK for AWS)?

EDIT: They probably do not, I'm guessing they mean https://docs.getmoto.org/en/latest/index.html ?

replies(2): >>41889381 #>>41890011 #
mdaniel ◴[] No.41890011[source]
Happy 10,000th Day to you :-D Yes, moto and its friend localstack are just fantastic for being able to play with AWS without spending money, or to reproduce kabooms that only happen once a month with the real API

I believe moto has an "embedded" version such that one need not even have in listen on a network port, but I find it much, much less mental gymnastics to just supersede the "endpoint" address in the actual AWS SDKs to point to 127.0.0.1:4566 and off to the races. The AWS SDKs are even so friendly as to not mandate TLS or have allowlists of endpoint addresses, unlike their misguided Azure colleagues

replies(1): >>41890155 #
SahAssar ◴[] No.41890155[source]
> Happy 10,000th Day to you :-D

Sorry, not sure what you mean?

replies(1): >>41890180 #
mdaniel ◴[] No.41890180{3}[source]
https://xkcd.com/1053/
replies(1): >>41895121 #
1. misnome ◴[] No.41895121{4}[source]
How do you know they are in the US?