Closed devvesa closed 5 years ago
Please note that while the modules in the /modules
folder are meant for production use, the code in the root of this repo is example code designed for learning and ease-of-deployment. The modules in the /modules
folder allow you to configure the instance type as you want.
I've also filed https://github.com/hashicorp/terraform-aws-consul/pull/118 to try to clarify this more.
Gotcha @brikis98 ! thanks for the quick answer.
Consul Reference architecture recommends to use either a
m5.large
or am5.xlarge
instance type for production deployments in AWS, and also recommends to avoid "Burstable CPU" instance types (the T family).However, the consul module uses a hard coded
t2.micro
instance type for the autoscaling group. Is there any reason for that? May you accept a PR to parametrise this value? (I want to avoid use our own fork as much as possible).