Commit Graph

6 Commits

Author SHA1 Message Date
Seth Vargo
0540c213c0 Update template provider 2017-04-10 12:29:20 -04:00
Martin Atkins
5fc7414076 website: Activate HCL syntax highlighting for Template provider docs 2017-04-07 16:46:56 -07:00
Abdul Rehman
ec7182148a Added example of variable reference inside file (#11097)
This tripped me up earlier as I was referencing inside the file as $${variable} when it should be ${variable}. Think is brings clarity, cheers.
2017-01-09 09:36:16 +01:00
Mitchell Hashimoto
7d6b3b80b9 website: document escaping template vars [GH-9897] 2016-11-07 08:42:46 -08:00
Paul Hinze
b7e854fa8b provider/template: validate vars are primitives
Closes #7160 by returning a proper error.
2016-07-11 16:01:05 -05:00
Martin Atkins
861ac536dd provider/template: convert resources to data sources
The template resources don't actually need to retain any state, so they
are good candidates to be data sources.

This includes a few tweaks to the acceptance tests -- now configured to
run as unit tests -- since it seems that they have been slightly broken
for a while now. In particular, the "update" cases are no longer tested
because updating is not a meaningful operation for a data source.
2016-07-08 17:11:17 +01:00