From 484665e21e33ce54c3561803487cf9eaee3d22f0 Mon Sep 17 00:00:00 2001 From: Isabel Andrade Date: Thu, 3 Jun 2021 13:45:56 +0100 Subject: [PATCH] Support variable `default` So that completion/hover/highlighting is available for variable `default`. Fixes #537 --- internal/terraform/module/module_manager.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/terraform/module/module_manager.go b/internal/terraform/module/module_manager.go index c7ae6b6fd..470996d8d 100644 --- a/internal/terraform/module/module_manager.go +++ b/internal/terraform/module/module_manager.go @@ -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)