Este contenido no está disponible en el idioma seleccionado
Trabajamos constantemente para que el contenido esté disponible en el idioma seleccionado. Gracias por tu paciencia.
Why do I receive errors when I run AWS CLI commands?
2 minutos de lectura
0
I receive errors when I run AWS Command Line Interface (AWS CLI) commands on my resource.
Resolution
Verify that you have the latest version of the AWS CLI installed. The AWS CLI updates frequently. When you run an earlier CLI version, you can't access newer released features. For more information, see Confirm that you're running a recent version of the AWS CLI.
Make sure that you're using the correct credentials to make the API call. If there are multiple sets of credentials on the instance, then credential precedence might affect which credentials the instance uses to make the API call. To verify the set of credentials in use, run the aws sts get-caller-identity command. For more information, see Why is my Amazon EC2 instance using IAM user credentials instead of role credentials?