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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则