Cloudformation validate-template gives S3 "please use specified endpoint" error if you don't have sufficient KMS permissions to decrypt the template

0

If you use aws validate-template --template-url https//s3.amazon.aws.com/bucket/object in the case where the object is encrypted with a KMS key that your user does not have access to, you get the error below:

An error occurred (ValidationError) when calling the ValidateTemplate operation: S3 error: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.
For more information check http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html

This error is very unclear that the root cause is to do with KMS permissions. Why does this particular error get returned - it it a bug or is there a good reason?

Thanks.

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠