Automation error for UpdateEKSManagedNodeGroup

0

Do i need to update something in the input parameters?

error message: 'An error occurred (InvalidParameterException) when calling the UpdateNodegroupVersion operation: Launch template details can't be null for Custom ami type node group' Exception - Unable to update the node group errorCode: '', error message: 'An error occurred (InvalidParameterException) when calling the UpdateNodegroupVersion operation: Launch template details can't be null for Custom ami type node group'.

1回答
0
承認された回答

You will need to include the LaunchTemplate specification with the necessary details (like the name or ID of the launch template and version) in your call to the UpdateNodegroupVersion operation.

aws eks update-nodegroup-version --cluster-name my_cluster --nodegroup-name my_nodegroup --launch-template id=lt-0abcd1234efgh5678,version=1

Note: replace my_cluster, my_nodegroup, lt-0abcd1234efgh5678, and 1 with your actual cluster name, nodegroup name, launch template ID, and launch template version.

profile picture
エキスパート
回答済み 1年前
  • I updated some more input parameters, but now getting this msg: Exception( Exception: Unable to update the node group errorCode: '', error message: 'An error occurred (InvalidRequestException) when calling the UpdateNodegroupVersion operation: You are not authorized to describe the launch template version.' Exception - Unable to update the node group errorCode: '', error message: 'An error occurred (InvalidRequestException) when calling the UpdateNodegroupVersion operation: You are not authorized to describe the launch template version.'

    What permissions would i need?

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ