Eximchain / terraform-aws-dappbot

Terraform infrastructure to run ABI Clerk
Other
0 stars 1 forks source link

Decouple API from Resource Creation #17

Closed Lsquared13 closed 5 years ago

Lsquared13 commented 5 years ago

Currently, we have our create API call create all the resources while the client waits for a response. A better architecture would be to just drop a message in an SQS queue and return to the client. Another Lambda function could process those messages and create the resources. The client would then check the status of the creation after the initial API Call.

Benefits