getting Resource handler returned message: "Access to the resource https://sqs.us-east-1.amazonaws.com/ on cloudformation

0

hi.. while trying to create a queuepolicy in cloud formation:

SQSNotificationPolicy:
    Type: AWS::SQS::QueuePolicy
    Properties:
      PolicyDocument:
        Version: '2008-10-17'
        Statement:
          - Effect: Allow
            Principal:
              AWS: "*"
            Action: SQS:SendMessage
            Resource: !GetAtt NotificationQueue.Arn
            Condition:
              ArnLike:
                aws:SourceArn: !Sub '{{resolve:ssm:${SNSTopic}}}' 
      Queues:
        - !Ref NotificationQueue

i get Resource handler returned message: "Access to the resource https://sqs.us-east-1.amazonaws.com/ is denied why?

已提問 2 年前檢視次數 1478 次
1 個回答
0

Hi, I would start troubleshooting by checking your AWS Identity and Access Management Permissions for how you're trying to deploy the SQS Policy.

  1. Identity Policies for Deploying CloudFormation (Typically the User or Role you are using to deploy the CloudFormation)
  2. (If exists) Ensure the Queue Policy is not blocking access to deploy/update another Queue Policy.
  3. If in Organizations, that no SCPs are blocking SQS or any of the necessary permissions.
jsonc
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南