cfn-lint icon indicating copy to clipboard operation
cfn-lint copied to clipboard

CIDR Validation

Open fhewitt opened this issue 6 years ago • 0 comments

CidrBlock, CidrIp and DestinationCidrBlock values should be validated for a valid Cidr string format.

As an example, this typo "CidrIp": "38.121.87.72/33", will generate a error during the deployment, and could be catched by cfn-lint.

Could use this tool: https://www.npmjs.com/package/cidr-regex

fhewitt avatar Jun 11 '18 17:06 fhewitt