QuickSight Dashboard Image Display Issues with S3 Bucket Integration

0

I am building QuickSight dashboards (for website embedding) and want to display images from S3 bucket. For this I am using Object URL in HTTPS format. However, the problem is that those images are not getting displayed in the dashboards.

I tried the following:

  1. My S3 bucket is non-public, but I opened all the necessary permissions for QS role to access that bucket. Did not work.
  2. I made S3 bucket as public, but applied the following bucket policy to open the bucket for QS role:
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "PublicReadGetObject",
            "Effect": "Allow",
            "Principal": "*",
            "Action": "s3:GetObject",
            "Resource": "arn:aws:s3:::<bucket-name>/*",
            "Condition": {
                "StringEquals": {
                    "aws:PrincipalARN": "arn:aws:iam::<account-id>:role/aws-quicksight-service-role-manual"
                }
            }
        }
    ]
}

This solution did not work. It seems QuickSight is not using its role for accessing S3 bucket objects.

  1. I made S3 bucket as public without any bucket policies. This works, but we can't afford this solution - our bucket shouldn't be visible to the world.

Any suggestions?

Almaz
질문됨 2달 전233회 조회
1개 답변
2
profile picture
전문가
답변함 2달 전
profile picture
전문가
Artem
검토됨 한 달 전
  • As I already mentioned, I already opened all the necessary permissions from QS to that S3.

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

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

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

관련 콘텐츠