Terraform-aws-eks: IAM role specific to each worker group

Created on 25 Jun 2019  路  2Comments  路  Source: terraform-aws-modules/terraform-aws-eks

When I specify a different iam role for each worker group, that iam role doesn't get created so the apply fails as it's missing when it tries to assign it.

I'm submitting a...

  • [ ] bug report
  • [x] feature request
  • [ ] support request
  • [ ] kudos, thank you, warm fuzzy

It creates a single workers iam role

set iam_role_id to a different value for every worker group in worker_groups = [{ }]

created the iam_role_id specific to each worker group

Only if I create the role outside of the module

Environment details

  • Affected module version: 4.0.2 (same logic is in 5.0.0)
  • OS: OSX, Linux
  • Terraform version: v0.11.14

Most helpful comment

Yes I think the current implementation is one of:

  1. You supply the IAM roles from outside of the module. Can be per worker group
  2. All worker groups share the same IAM role.

All 2 comments

Yes I think the current implementation is one of:

  1. You supply the IAM roles from outside of the module. Can be per worker group
  2. All worker groups share the same IAM role.

This is now possible

Was this page helpful?
0 / 5 - 0 ratings