aws-cloudformation / cfn-lint

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

E3030 '5.0.0' is not one of ['3.6.0', '4.0', '4.0.0'] #3426

Closed krishnakokila1990 closed 5 days ago

krishnakokila1990 commented 5 days ago

CloudFormation Lint Version

cfn-python-lint:v1.3.7

What operating system are you using?

Ubuntu

Describe the bug

Cflint throws an error if we specify documentDB engine version as 5.0.0

Was fine prior to 1.3 upgrade

Expected behavior

Should accept 5.0.0 version

Reproduction template

Type: AWS::DocDB::DBCluster
Properties:
  DBClusterIdentifier: 
  DBClusterParameterGroupName: !Ref DBClusterParameterGroup
  DBSubnetGroupName: !Ref DBSubnetGroupName
  DeletionProtection: false
  EngineVersion: "5.0.0"
  KmsKeyId: !Sub 
  MasterUsername: !Sub 
  MasterUserPassword: !Sub 
  Port: !Ref Port
  StorageEncrypted: true
  StorageType: "standard"
  VpcSecurityGroupIds: