EKS CSI Driver deployment (terraform)
For some non-obvious reason it wasn’t straight-forward how to deploy/configure AWS EBS CSI controller even after reading the docs. Key thing here is you have to install csi driver yourself and the easiest way to do it is to use EKS addons. You can also tweak eks addons deployment using configuration_values property to change resources, add nodeSelector, etc. Here is the terraform configuration for that with some ommited fields not related to the configuration of storage...