Search

Unable to validate the following destination configurations

문제점

버킷에서 이벤트 대상을 등록하려고 할때 권한이 없으면 발생하는 문제이다.
SQS를 사용중이다면 아래의 정책을 SQS에 작성해줘야한다.
{ "Version": "2012-10-17", "Id": "example-ID", "Statement": [ { "Sid": "example-statement-ID", "Effect": "Allow", "Principal": { "Service": "s3.amazonaws.com" }, "Action": "SQS:SendMessage", "Resource": "arn:aws:sqs:ap-northeast-2:362708816803:s3-event-queue", "Condition": { "StringEquals": { "aws:SourceAccount": "362708816803" }, "ArnLike": { "aws:SourceArn": "arn:aws:s3:::skills-os-bucket" } } } ] }
JSON
복사