Closed Markonick closed 1 year ago
Thanks for reporting this @Markonick . You might consider creating a PR for this, noting the following:
As an interim workaround you might consider editing kube-system/aws-auth:configMap directly, which looks approximately like the following:
Sorry about this, my first time actually trying to contribute in an open-source project. I already opened a pull-request but must have done something wrong: https://github.com/cookiecutter-openedx/cookiecutter-openedx-devops/pull/61 (couldn't find how to assign a reviewer).
As for your solution, yep, I edited it in aws-auth
on Lens so this doesn't block me.
Describe the bug Adding a role in map_roles inside stacks/service/kubernetes/terragrunt.hcl results in the following error:
Workflow To recreate this bug, let me give some context:
I needed to add a CI role (not user) for GitHub actions to be able to talk to the EKS cluster. My role looks like this:
When I tried applying my change following the build sequence:
the error described above occurs.
Expected behavior The error above should not occur.
Additional context According to https://registry.terraform.io/modules/aidanmelen/eks-auth/aws/1.0.0#:~:text=no-,map_roles,-Additional%20IAM%20roles, rolearn should be used instead.