For #20. This switches the iamserviceaccounts module to rely on the community Terraform moduleiam/iam-role-for-service-accounts-eks.
This also updates the elastic-file-system module to only create mount targets for subnets actually used by EKS cluster nodegroups. This will substantially lower the likelihood that our module will attempt to create more than one EFS mount target per Availability Zone, though it does not eliminate the potential completely.
Finally, this makes formatting changes throughout to better adhere to the Terraform style guide.
For #20. This switches the
iamserviceaccounts
module to rely on the community Terraform moduleiam/iam-role-for-service-accounts-eks
.This also updates the
elastic-file-system
module to only create mount targets for subnets actually used by EKS cluster nodegroups. This will substantially lower the likelihood that our module will attempt to create more than one EFS mount target per Availability Zone, though it does not eliminate the potential completely.Finally, this makes formatting changes throughout to better adhere to the Terraform style guide.