Closed joekendal closed 3 years ago
You can just copy the spe-uob/fhir-works-on-aws-deployment repo, remove the Elasticsearch resource as we don't need that. No need to reinvent the wheel. They have used TypeScript for the lambda but can just leave as is in fact. Modify the resources to use the cheapest / lightest dynamo-db settings. The VPC config will come later so just do this under a folder called api/ and test it locally and on AWS. commit regularly rather than in one big lot
If you need a more in-depth tutorial on lambda, serverless etc. then i'm uploading those to an S3 bucket which you can access if you send me your AWS canonical user ID
Using this for help - https://github.com/spe-uob/fhir-works-on-aws-deployment
in Serverless. If you want to rewrite it then fine but decide among your pair which language to use for the lambda: Python, (Type|Java)Script, Java, Golang. They've used TypeScript in that example so you can just copy it if you prefer. It really isn't critical so keep it simple.