Problem to set event destination of Amazon SES using Kinesis Firehose

0

I created the role needed to connect the services but i'm getting these two errors:

  • Could not access Kinesis Firehose Stream using IAM role
  • Could not assume IAM role

Permission Policy:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "",
            "Effect": "Allow",
            "Action": [
                "*"
            ],
            "Resource": [
                 "arn:aws:firehose:delivery-region:111122223333:deliverystream/delivery-stream-name"
            ]
        }
    ]
}

Trust Policy:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "",
      "Effect": "Allow",
      "Principal": {
        "Service": "ses.amazonaws.com"
      },
      "Action": "sts:AssumeRole",
      "Condition": {
        "StringEquals": {
          "AWS:SourceAccount": "111122223333",
          "AWS:SourceArn": "arn:aws:ses:delivery-region:111122223333:configuration-set/configuration-set-name"
        }
      }
    }
  ]
}

Link that i used to guide me:

Can someone help me ?

  • Can you share the trust and permission policies of your role ?

  • New informations added

1개 답변
0

I know this may sound stupid and you should not share your account id or resources names here, but have you actually changed the placeholders that are in the policy ?

Enter image description here Enter image description here

If you did, have you checked if it is correct ?

The trust policy defines "who" can assume the role, attaching a role to a resource just tells it must assume that role.

If this does not solve your problem or still have any question please let me know.

답변함 9달 전

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

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

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

관련 콘텐츠