Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 705 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 705 Bytes

S034

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

The S034 analyzer reports cases of schemas which enable PromoteSingle, which is not valid after Terraform 0.12. Existing implementations of PromoteSingle prior to Terraform 0.12 can be ignored currently.

Flagged Code

&schema.Schema{
    PromoteSingle: true,
}

Passing Code

&schema.Schema{
    // No PromoteSingle: true,
}

Ignoring Reports

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

//lintignore:S034
&schema.Schema{
    PromoteSingle: true,
}