- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
Could you clarify if you are creating this within the EC2 section of AWS Console or somewhere else? https://console.aws.amazon.com/ec2/home#Lifecycle:
The error message is described here https://docs.aws.amazon.com/IAM/latest/UserGuide/signature-v4-troubleshooting.html#signature-v4-troubleshooting-credential-scope
Depending on the method you are using, is it possible to explicitly set the region with something like --region eu-central-1
? I am thinking that as IAM is a global service which defaults to us-east-1, perhaps that region is implicit unless overridden.
Hello.
Is it possible to create it using the AWS CLI instead of from the management console?
It can be created using the "create-lifecycle-policy" command.
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/dlm/create-lifecycle-policy.html
Contenuto pertinente
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 3 anni fa
i also had the same issue. and yes it i create it on ec2 section of the AWS web console. it says "Credential should be scoped to a valid region." it's on ap-southeast-3 region. i also use root account, it's not a permission issue