1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
0
Hi, to make sure that the CLI uses the credentials with the full admin right, you should first validate them.
The precedence rules (see https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html) may result in different credentials that those that you believe you use.
So, try to run 'aws sts get-caller-identity' to check the identity under which CLI runs. See https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sts/get-caller-identity.html
Then, check your aws cli config via 'aws configure list'. See https://awscli.amazonaws.com/v2/documentation/api/latest/reference/configure/list.html
You should then be sure which identity you're using and confirm that it is the one with full admin rights
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 8 meses
- AWS OFICIALAtualizada há um ano
The issue isn't with CLI but with the Boto3 client, it works fine on CLI