Hello, everyone.
Hope you are doing well.
Currently I am working on a serverless project version upgrade.
I have updated current project's nodejs version from 16.x to 20.x and also updated serverless version from 2.x to 3.x.
Of course updated other dependencies also.
After this update, if I run the project in offline mode, it works well.
Btw when I try to deploy this project to AWS lambda, I face this issue:
Error:
UPDATE_FAILED: productSync (AWS::SQS::Queue)
Resource handler returned message: "The name of a FIFO queue can only include alphanumeric characters, hyphens, or underscores,
must end with .fifo suffix and be 1 to 80 in length.
I tried to solve this with GPT btw all recommendation from it are not working.
If anyone knows the solution, please kindly reply me.
Hope to get a guidance from an expert.
Thanks in advance.
Hello, Riku Thanks for your reply. Here is the definition for it.
productSync: Type: 'AWS::SQS::Queue' Properties: QueueName: ${/preview/sqs/product_sync_queue} FifoQueue: true ContentBasedDeduplication: true VisibilityTimeout: 900
How do I have to update this?
And if this is an issue of length of name, it's weird. This was working well before nodejs and severless version upgrade. What do you think about it?