terraform: really simple error message fix, direct to master

This commit is contained in:
Mitchell Hashimoto 2016-11-10 21:31:38 -08:00
parent 89919b605b
commit 2cef1e5fd5
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
1 changed files with 4 additions and 4 deletions

View File

@ -287,10 +287,10 @@ func (i *Interpolater) valueSimpleVar(
// relied on this for their template_file data sources. We should
// remove this at some point but there isn't any rush.
return fmt.Errorf(
"invalid variable syntax: %q. If this is part of inline `template` parameter\n" +
"then you must escape the interpolation with two dollar signs. For\n" +
"example: ${a} becomes $${a}." +
n)
"invalid variable syntax: %q. If this is part of inline `template` parameter\n"+
"then you must escape the interpolation with two dollar signs. For\n"+
"example: ${a} becomes $${a}.",
n)
}
func (i *Interpolater) valueUserVar(