Skip to content

Commit 33523c9

Browse files
authored
Updating the role instructions
1 parent 63adc87 commit 33523c9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

terraform-modules/aws/eks/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,12 @@ In this case it is: `arn:aws:iam::476264531111:role/aws-reserved/sso.amazonaws.c
6262

6363
You will then add this user or role to the appropriate section in the Terragrunt/Terraform instantiation of it: https://github.com/ManagedKube/kubernetes-ops/blob/main/terraform-environments/aws/terragrunt-dev/us-east-1/terragrunt-dev/200-eks/terragrunt.hcl
6464

65+
It seems that you have to remove everything in between the `role` and role name. Remove `/aws-reserved/sso.amazonaws.com`. Which will give you:
66+
6567
```
6668
aws_auth_roles = [
6769
{
68-
rolearn = "arn:aws:iam::476264531111:role/aws-reserved/sso.amazonaws.com/AWSReservedSSO_devops_admin_595c0f4da82205f0"
70+
rolearn = "arn:aws:iam::476264531111:role/AWSReservedSSO_devops_admin_595c0f4da82205f0"
6971
username = "devops-admin"
7072
groups = ["system:masters"]
7173
},

0 commit comments

Comments
 (0)