Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redrivePolicy with deadLetterTargetArn for SNS events failed to create AWS::SQS::QueuePolicy #8267

Closed
5up3r20e opened this issue Sep 19, 2020 · 2 comments · Fixed by #8268
Closed

Comments

@5up3r20e
Copy link
Contributor

redrivePolicy with deadLetterTargetArn for SNS events failed to create AWS::SQS::QueuePolicy

i found an existent issue but it's already closed #7745

serverless.yml
functions:
 handleUserAuthenticated:
    handler: handler.handleUserAuthenticated
    events:
      - sns:
          arn: <snsTopicArn>
          redrivePolicy:
            deadLetterTargetArn: arn:aws:sqs:ap-southeast-2:<accountid>:myDLQ
sls deploy output
Error: The CloudFormation template is invalid: Template error: every Fn::Join object requires two parameters, (1) a string delimiter and (2) a list of strings to be joined or a function that returns a list of strings (such as Fn::GetAZs) to be joined.

Installed version

Framework Core: 2.1.1 (local)
Plugin: 4.0.4
SDK: 2.3.2
Components: 3.1.3
@5up3r20e
Copy link
Contributor Author

created a pr to fix it #8268

@medikoo
Copy link
Contributor

medikoo commented Sep 21, 2020

Thanks @5up3r20e for properly coining that! We will look into PR shortly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants