'An error occurred (InvalidRequestException) when calling the UpdateClusterVersion operation

I try to upgrade kubernetes cluster but I take same error on aws panel and aws-cli

aws eks update-cluster-version \
 --region eu-west-1 \
 --name foo-bar \
 --kubernetes-version 1.19

but I receive

An error occurred (InvalidRequestException) when calling the UpdateClusterVersion operation: The provided role doesn't have the Amazon EKS Managed Policies associated with it. Please ensure the following policies [arn:aws:iam::aws:policy/AmazonEKSClusterPolicy] are attached

Notes:

  • my account is super-admin, so there is no credential or role-based exception
  • state of cluster is active


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source