aws-cloudformation / cfn-lint

CloudFormation Linter
MIT No Attribution
2.4k stars 576 forks source link

E3034 60 is less than the minimum of 1024 for SQS #3353

Closed nosnilmot closed 2 weeks ago

nosnilmot commented 2 weeks ago

CloudFormation Lint Version

1.3.0+ (git a7906ea)

What operating system are you using?

Mac

Describe the bug

cfn-lint v1 complains about MessageRetentionPeriod: 60 being less than minimum of 1024 for AWS::SQS::Queue but the minimum is 60.

This appears to be caused by this: https://github.com/aws-cloudformation/cfn-lint/blob/main/src/cfnlint/data/schemas/patches/extensions/all/aws_sqs_queue/manual.json#L10

Expected behavior

No error

Reproduction template

AWSTemplateFormatVersion: "2010-09-09"
Resources:
  Queue:
    Type: 'AWS::SQS::Queue'
    Properties:
      MessageRetentionPeriod: 60