terraform: make wording better

This commit is contained in:
Mitchell Hashimoto 2014-10-08 16:01:13 -07:00
parent 36f4a644b6
commit 9ed89dbabd
1 changed files with 2 additions and 1 deletions

View File

@ -1054,7 +1054,8 @@ func (c *walkContext) validateWalkFn() depgraph.WalkFunc {
if !config.NameRegexp.Match([]byte(rn.Config.Name)) {
l.Lock()
meta.Warns = append(meta.Warns, fmt.Sprintf(
"'%s' warning: name can't contain special characters",
"'%s' warning: name can't contain special characters.\n" +
"this will be an error in Terraform 0.4",
rn.Resource.Id))
l.Unlock()
}