Skip to content

Commit

Permalink
[Bugfix] Add auth config to allow fargate nodes to come up
Browse files Browse the repository at this point in the history
This config was missing from #352
  • Loading branch information
errm committed Oct 31, 2023
1 parent 6aa36cd commit 50c7673
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions modules/cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,15 @@ locals {
username = "system:node:{{EC2PrivateDNSName}}"
groups = ["system:bootstrappers", "system:nodes"]
},
{
rolearn = aws_iam_role.fargate.arn
username = "system:node:{{SessionName}}"
groups = [
"system:bootstrappers",
"system:nodes",
"system:node-proxier",
]
},
],
var.aws_auth_role_map,
)
Expand Down

0 comments on commit 50c7673

Please sign in to comment.