aws-cloudformation / cfn-lint

CloudFormation Linter
MIT No Attribution
2.43k stars 588 forks source link

`E3041` false positives #3376

Closed jakob-keller closed 3 months ago

jakob-keller commented 3 months ago

CloudFormation Lint Version

1.3.3

What operating system are you using?

Mac

Describe the bug

I believe E3041 is currently too strict: Name may be equal to HostedZoneName, i.e. when setting the root record.

Expected behavior

Setting the DNS root record should pass validation.

Reproduction template

I will create a PR including test cases.