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?

preguntada hace 2 años1478 visualizaciones
1 Respuesta
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
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas