Skip to content

Commit

Permalink
quote template example
Browse files Browse the repository at this point in the history
  • Loading branch information
azr committed Feb 15, 2021
1 parent 632e918 commit 7809242
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hcl2template/types.required_plugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ func decodeRequiredPluginsBlock(block *hcl.Block) (*RequiredPlugins, hcl.Diagnos
Detail: fmt.Sprintf(`'%s = "%s"' plugin requirement calls are not possible.`+
` You must define a whole block. For example:`+"\n"+
`%[1]s = {`+"\n"+
` source = github.com/hashicorp/%[1]s`+"\n"+
` version = %[2]s`+"\n"+`}`,
` source = "github.com/hashicorp/%[1]s"`+"\n"+
` version = "%[2]s"`+"\n"+`}`,
name, c),
Subject: attr.Range.Ptr(),
})
Expand Down

0 comments on commit 7809242

Please sign in to comment.