awsekscluster_auth has a default set lifetime space of 20 minutes. When the pipeline is long, it returns 401 authorized due to the expiry of the token. Is there a way extend the lifetime ?
Yes, you can extend the lifetime of the token by modifying the default set lifetime space. This can be done by updating the AWS Identity and Access Management (IAM) policy associated with the IAM role that is being assumed by the EKS cluster.