mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-14 02:32:39 -06:00
configs: Mention leading underscores in invalid identifier message
This commit is contained in:
parent
ae5f43ba25
commit
73d574913d
@ -14,7 +14,7 @@ import (
|
||||
)
|
||||
|
||||
// A consistent detail message for all "not a valid identifier" diagnostics.
|
||||
const badIdentifierDetail = "A name must start with a letter and may contain only letters, digits, underscores, and dashes."
|
||||
const badIdentifierDetail = "A name must start with a letter or underscore and may contain only letters, digits, underscores, and dashes."
|
||||
|
||||
// Variable represents a "variable" block in a module or file.
|
||||
type Variable struct {
|
||||
|
Loading…
Reference in New Issue
Block a user