Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 819 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 819 Bytes

V002

This terraform-plugin-sdk (v1) analyzer has been removed in tfproviderlint v0.30.0.

The V002 analyzer reports usage of the deprecated CIDRNetwork validation function that should be replaced with IsCIDRNetwork.

Flagged Code

ValidateFunc: validation.CIDRNetwork(0, 32),

Passing Code

ValidateFunc: validation.IsCIDRNetwork(0, 32),

Ignoring Reports

Singular reports can be ignored by adding the a //lintignore:V002 Go code comment at the end of the offending line or on the line immediately proceding, e.g.

//lintignore:V002
ValidateFunc: validation.CIDRNetwork(0, 32),