Closed zenbones closed 1 day ago
that is not true - its no longer in the root module, you need to define a new sub-module definition to use that
First, thank you for the response. The docs should probably be updated... And not to be too dense, but by submodule definition, I should insert something like...
module "eks" {
aws_auth = {
manage_aws_auth_configmap = true
aws_auth_roles = [
{
rolearn = data.aws_iam_role.karpenter_instance.arn
username = "system:node:{{EC2PrivateDNSName}}"
groups = ["system:bootstrappers", "system:nodes"]
},
]
aws_auth_users = var.eks_additional_users
}
}
...because I make my way through these things by documentation as opposed to actually knowing what I'm doing.
I figured out the module declaration. Thnks.
In the terraform-aws-modules/eks/aws module version 19.17.2 this worked...
But with version 20.14.0 I get...
But checking the docs for aws-auth, the example seems to show that this should still work.