Replies: 1 comment 16 replies
-
Hi @bangupoc. Could you provide what version of the service catalog/EKS module(s) you are using as well as what version of Kuberntes/EKS you are specifying? |
Beta Was this translation helpful? Give feedback.
16 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently we are doing the validate and Plan for eks cluster. Getting the below error.
Error
│ Error: Failed to configure client: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"
│ with module.eks_k8s_role_mapping.kubernetes_config_map.eks_to_k8s_role_mapping,
on .terraform/modules/eks_k8s_role_mapping/modules/eks-k8s-role-mapping/main.tf line 33, in resource "kubernetes_config_map" "eks_to_k8s_role_mapping":
33: resource "kubernetes_config_map" "eks_to_k8s_role_mapping" {
in _envcommon seeing below segment
Code : _envcommon/services/eks-cluster.hcl line 151
iam_role_to_rbac_group_mapping = {
"arn:aws:iam::${local.common_vars.locals.account_ids[local.account_name]}:role/GruntworkAccountAccessRole" = ["system:masters"]
(dependency.ops_admin_role.outputs.iam_role_arn) = ["system:masters"]
(dependency.baseline.outputs.allow_dev_access_from_other_accounts_iam_role_arn) = ["system:masters"]
(dependency.ecs_deploy_runner.outputs.ecs_task_iam_roles["terraform-planner"]["arn"]) = ["system:masters"]
(dependency.ecs_deploy_runner.outputs.ecs_task_iam_roles["terraform-applier"]["arn"]) = ["system:masters"]
}
As we are using Plan only currently Not sure why this error is coming up ? Is there any other way to by pass and do the plan ?
Tracked in ticket #109834
Beta Was this translation helpful? Give feedback.
All reactions