README ¶ passes/helper/schema/schemamapcompositelit This pass only works with Terraform schema maps that are fully defined: Schema: map[string]*schema.Schema{ "attr": { Type: schema.TypeString, Optional: true, Computed: true, ValidateFunc: /* ... */, }, }, Expand ▾ Collapse ▴ Documentation ¶ Index ¶ Variables Constants ¶ This section is empty. Variables ¶ View Source var Analyzer = &analysis.Analyzer{ Name: "schemamapcompositelit", Doc: "find map[string]*schema.Schema literals for later passes", Requires: []*analysis.Analyzer{ inspect.Analyzer, }, Run: run, ResultType: reflect.TypeOf([]*ast.CompositeLit{}), } Functions ¶ This section is empty. Types ¶ This section is empty. Source Files ¶ View all Source files schemamapcompositelit.go Click to show internal directories. Click to hide internal directories.