HomePhabricator
Diffusion Comm 86ee2981a2e3

[identity] config for LocalStack

Description

[identity] config for LocalStack

Summary:
we need to introduce some more config for our DDB client to be able to connect to the LocalStack endpoint.

If the LOCALSTACK_ENDPOINT env var is set, the DDB client will connect to that endpoint instead of the AWS prod endpoint.

Test Plan:
called GenerateNonce with the env var set, used AWS cli to confirm that the nonce was added to my LocalStack DDB identity-nonces table
called with the env var unset, and the nonce was added to my actual DDB test table

Reviewers: jon, bartek

Reviewed By: bartek

Subscribers: ashoat, tomek, atul

Differential Revision: https://phab.comm.dev/D7258

Details

Provenance
varunAuthored on Mar 30 2023, 12:21 PM
Reviewer
bartek
Differential Revision
D7258: [identity] config for LocalStack
Parents
rCOMMf30a02df6cdd: [identity] bump aws-config and aws-sdk-dynamodb crate versions
Branches
Unknown
Tags
Unknown