document-understanding-solution
document-understanding-solution copied to clipboard
Allow control over the size of the Elasticsearch instance when deploying
Is your feature request related to a problem? Please describe.
As of now, the solution fixes the instance size for ES to m5.large.elasticsearch
, which is larger than what we need in our use case. This can drive up the base monthly cost.
Describe the feature you'd like
Set the value of instanceType
based on the value of a new CloudFormation template parameter (a new prop in TextractStackProps
)
https://github.com/awslabs/document-understanding-solution/blob/b375268de159ea52296a3747506eb154962b4a2f/source/lib/cdk-textract-stack.ts#L304
Thanks for reaching out. I will bring it up with the team and post an update in the coming weeks.
@MuazOthman, as a builder we always face a dilemma between how to much to abstract and the features to expose. Sometime too many options also makes the deployment confusing. So to lean towards simplicity this was not an option that was directly exposed as a parameter. Having said that, I have added this to the backlog, we plan to address this in the forthcoming releases. Closing this ticket for now.