Skip to content

Commit

Permalink
Support variable default (#543)
Browse files Browse the repository at this point in the history
So that completion/hover/highlighting is available for variable
`default`.

Fixes #537
  • Loading branch information
beandrad authored Jun 10, 2021
1 parent 62f549a commit 5b39e59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/terraform/module/module_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ func schemaForModule(mod *state.Module, schemaReader state.SchemaReader) (*schem
CoreRequirements: coreRequirements,
ProviderRequirements: mod.Meta.ProviderRequirements,
ProviderReferences: mod.Meta.ProviderReferences,
Variables: mod.Meta.Variables,
}

return sm.SchemaForModule(meta)
Expand Down

0 comments on commit 5b39e59

Please sign in to comment.