in internal/provider/module_version_function.go [37:48]
func (m *ModuleVersionFunction) Run(ctx context.Context, req function.RunRequest, resp *function.RunResponse) {
var modulePath string
resp.Error = function.ConcatFuncErrors(req.Arguments.Get(ctx, &modulePath))
if resp.Error != nil {
return
}
model := &ModuleSourceDataSourceModel{}
model.ModulePath = types.StringValue(modulePath)
model = withModuleSourceAndVersion(model)
s := model.ModuleVersion.ValueString()
resp.Error = function.ConcatFuncErrors(resp.Result.Set(ctx, s))
}