Closed r-heimann closed 2 weeks ago
cfn-lint 1.3.0
Windows 11
After updating from v0.87.7 to v1.3.0 i noticed a new finding, which is a false-positive:
v0.87.7
v1.3.0
SecurityGroup: Type: AWS::EC2::SecurityGroup Properties: GroupDescription: "Security Group" VpcId: !ImportValue VPC1-VPC-ID Tags: - Key: Name Value: 'SecurityGroup\'
[cfn-lint] E3024: 'SecurityGroup\\' does not match '^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$'
cfn-lint does not provide this false-positive finding. I think the regex might be wrong, but regex is not my speciality.
AWSTemplateFormatVersion: 2010-09-09 Description: Test Resources: SecurityGroup: Type: AWS::EC2::SecurityGroup Properties: GroupDescription: "Security Group" VpcId: !ImportValue VPC1-VPC-ID Tags: - Key: Name Value: 'SecurityGroup\'
CloudFormation Lint Version
cfn-lint 1.3.0
What operating system are you using?
Windows 11
Describe the bug
After updating from
v0.87.7
tov1.3.0
i noticed a new finding, which is a false-positive:Expected behavior
cfn-lint does not provide this false-positive finding. I think the regex might be wrong, but regex is not my speciality.
Reproduction template