aws-samples / aws-marketplace-serverless-saas-integration

Example of serverless integration for SaaS products listed on the AWS Marketplace.
MIT No Attribution
127 stars 73 forks source link

fix: FIFO queue to the name of .fifo suffix #1

Closed lulzneko closed 3 years ago

lulzneko commented 3 years ago

Description of changes: The FIFO queue of SQSMeteringRecrods, is not explicitly named with a .fifo suffix (automatically generated by SAM). As a result, the following error occurs and cannot be deployed.

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.

The name of the FIFO queue must have a .fifo suffix.

QueueName A name for the queue. To create a FIFO queue, the name of your FIFO queue must end with the .fifo suffix. For more information, see FIFO (First-In-First-Out) Queues in the Amazon Simple Queue Service Developer Guide. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html

Explicitly name the FIFO queue.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.