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 Resposta
0
Resposta aceita

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
ESPECIALISTA
respondido há um ano
  • 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?

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas