V006

ValidationStandardRemoved · no longer reports

check for deprecated ValidateListUniqueStrings validation function usage

This check no longer reports

It targeted a Terraform Plugin SDK v1 API that no longer exists. The ID is retained permanently so existing //lintignore: comments and CI flags keep working. See Removed checks.

This terraform-plugin-sdk (v1) analyzer was removed upstream in tfproviderlint v0.30.0 and reports nothing in tfsprout. Its ID is retained so existing //lintignore: comments and CI flags keep working.

The V006 analyzer reports usage of the deprecated ValidateListUniqueStrings validation function that should be replaced with ListOfUniqueStrings.

Examples

ValidateFunc: validation.ValidateListUniqueStrings,
ValidateFunc: validation.ListOfUniqueStrings,

Ignoring reports

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

//lintignore:V006
ValidateFunc: validation.ValidateListUniqueStrings,

This page is generated from passes/V006/README.md, which lives beside the analyzer.