@@ -235,7 +235,7 @@ module "example" {
235235 return tfdiags.Diagnostics {}.Append (& hcl.Diagnostic {
236236 Severity : hcl .DiagError ,
237237 Summary : `Invalid module source` ,
238- Detail : `The module source can only reference input variables and local values.` ,
238+ Detail : `The module source can only reference constant input variables and local values.` ,
239239 Subject : & hcl.Range {
240240 Filename : filepath .Join (m .SourceDir , "main.tf" ),
241241 Start : hcl.Pos {Line : 4 , Column : 31 , Byte : 95 },
@@ -317,7 +317,7 @@ module "example" {
317317 return tfdiags.Diagnostics {}.Append (& hcl.Diagnostic {
318318 Severity : hcl .DiagError ,
319319 Summary : "Invalid module source" ,
320- Detail : "The module source can only reference input variables and local values." ,
320+ Detail : "The module source can only reference constant input variables and local values." ,
321321 Subject : & hcl.Range {
322322 Filename : filepath .Join (m .SourceDir , "main.tf" ),
323323 Start : hcl.Pos {Line : 5 , Column : 33 , Byte : 91 },
@@ -402,7 +402,7 @@ output "id" {
402402 return tfdiags.Diagnostics {}.Append (& hcl.Diagnostic {
403403 Severity : hcl .DiagError ,
404404 Summary : "Invalid module source" ,
405- Detail : "The module source can only reference input variables and local values." ,
405+ Detail : "The module source can only reference constant input variables and local values." ,
406406 Subject : & hcl.Range {
407407 Filename : filepath .Join (m .SourceDir , "main.tf" ),
408408 Start : hcl.Pos {Line : 7 , Column : 33 , Byte : 107 },
0 commit comments