We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
serverless-offline-sns/src/index.ts
Line 161 in 5a29200
Error message: TypeError: Cannot read property 'runtime' of undefined
TypeError: Cannot read property 'runtime' of undefined
If I create an SNS Subscription, without SQS or SNS function, I can't get the function name.
In CreateHandler I can't get the runtime property:
Line 378 in 5a29200
the fn is undefined.
My Subscription
mySubscription: Type: 'AWS::SNS::Subscription' Properties: TopicArn: !Ref myTopic Endpoint: !GetAtt - myConsumer - Arn Protocol: sqs RawMessageDelivery: 'true'
My Topic
myTopic: Type: "AWS::SNS::Topic" Properties: TopicName: my-topic
My Queues
consumerRelease: Type: "AWS::SQS::Queue" Properties: QueueName: my-queue RedrivePolicy: deadLetterTargetArn: !GetAtt myQueueDlq.Arn maxReceiveCount: 3 myQueueDlq: Type: "AWS::SQS::Queue" Properties: QueueName: my-queue-dlq
The text was updated successfully, but these errors were encountered:
This is still an issue. Prevents serverless offline from starting when you have SQS subscribed to an SNS topic.
Sorry, something went wrong.
Also preventing us upgrading
Having same issue. Any workaround?
No branches or pull requests
serverless-offline-sns/src/index.ts
Line 161 in 5a29200
Error message:
TypeError: Cannot read property 'runtime' of undefined
If I create an SNS Subscription, without SQS or SNS function, I can't get the function name.
In CreateHandler I can't get the runtime property:
serverless-offline-sns/src/index.ts
Line 378 in 5a29200
the fn is undefined.
My Subscription
My Topic
My Queues
The text was updated successfully, but these errors were encountered: