diff --git a/terraform/interpolate.go b/terraform/interpolate.go index b9538fa2d..1c024e466 100644 --- a/terraform/interpolate.go +++ b/terraform/interpolate.go @@ -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(