I am deploying my environment through terraform, I have a sqs against which I have set cloud watch alarms. My question is based on cloudwatch alarm can I set my eks to autoscale.
My next question is that if there is a way to do it through nodes/java
Why reinvent the wheel? Just use the cluster-autoscaler https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler