localstack-python-client icon indicating copy to clipboard operation
localstack-python-client copied to clipboard

Possible to have multiple and different sessions?

Open rpattcorner opened this issue 5 years ago • 0 comments

Also related to the latest comment on 1498 in the main localstack repo.

I'm starting multiple localstack instances using the new EDGE_PORT capability with a different edge port for each localstack instance in an effort to mock multiaccount environments per your suggestion in the localstack issue above.

Is it currently possible to configure a localstack-python-client session to point at one specific instance of localstack (representing one AWS account) versus the another (representing another account)? It doesn't look like it from a look thru the code, but if there is, could I trouble you to point it out?

If not, that would be a great feature, very close to multi-account capability. Many applications are working in multi-account environments since the advent of organizations, mine included.

I suppose it might be possible to address this use case at the session client level instead, using the old port per service capability, but it sounds like EDGE_PORT is the way of the future.

rpattcorner avatar Jul 18 '20 03:07 rpattcorner