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)