xmtp / didethresolver

XMTP Registry Resolver
MIT License
3 stars 1 forks source link

Terraform/Devops initial deployment #26

Closed insipx closed 8 months ago

insipx commented 9 months ago

Is your feature request related to a problem?

initial terraform scripts/deployment

snormore commented 9 months ago

@insipx @jac18281828 Do we actually need to deploy this as a separate service that the gateway calls into, vs just using it as a library with something like https://github.com/xmtp/didethresolver/blob/main/src/rpc/methods.rs#L30-L34 directly in the gateway's fetch_installation rpc method? Seems like an extra moving piece + indirection that can be avoided.

insipx commented 9 months ago

afaiu, the resolver will not be used by the other gateways, rather by users who need access to DID Documents

We will be using the didethresolver as library in the other gateways. This brings up a good question though, who else is planning on using the resolver? @jac18281828

jac18281828 commented 9 months ago

afaiu, the resolver will not be used by the other gateways, rather by users who need access to DID Documents

We will be using the didethresolver as library in the other gateways. This brings up a good question though, who else is planning on using the resolver? @jac18281828

We need to consider the tradeoff between infrastructure deployment of 2 services in Terraform vs bundling a library in two places. We can discuss in our upcoming infrastructure meeting.