diff --git a/pkg/tfgen/generate.go b/pkg/tfgen/generate.go index 11e0975fc..193b25f7c 100644 --- a/pkg/tfgen/generate.go +++ b/pkg/tfgen/generate.go @@ -1124,7 +1124,8 @@ func (g *Generator) gatherResource(rawname string, } // Make a state variable. This is always optional and simply lets callers perform lookups. - stateVar := g.propertyVariable(resourcePath.State(), key, propschema, propinfo, doc, rawdoc, false /*out*/, entityDocs) + stateVar := g.propertyVariable(resourcePath.State(), key, propschema, propinfo, + doc, rawdoc, false /*out*/, entityDocs) stateVar.opt = true stateVars = append(stateVars, stateVar) }