Paul Hinze
024dcc9d32
terraform: share graph walker's variables lock w/ interpolater
...
The ContextGraphWalker struct includes a lock that's passed down to
BuiltinEvalContext and guards access to interpolation variables as
they're written using SetVariables.
The likely problem being expressed in #5733 is that the same map
reference is also passed down to the Interpolater.Variables field, which
is used for variable lookup.
Here, we plumb the same lock we're using to guard access for writes down
and acquire it before doing variable reads as well. It's not as fine
grained as perhaps it could be, but all the context tests pass and I
believe this should address #5733 .
2016-03-21 18:21:44 -05:00
Paul Hinze
8472c7d59f
core: log eval tree operations
2016-02-24 09:49:11 -06:00
Paul Hinze
545aaf1864
core: demote evaltree loglevel from INFO -> TRACE
...
One small step in the long road to making our log levels actually
useful. :)
2016-01-21 10:20:53 -06:00
Paul Hinze
715437537d
command: fix flaky parallelism tests
...
Thanks to @mitchellh for helping sort out concurrency stuff here.
2015-10-29 15:16:34 -05:00
Mitchell Hashimoto
c207beda36
terraform: set variables in the proper location
2015-05-01 16:29:19 -07:00
Mitchell Hashimoto
f2e7f505d4
terraform: subpath context setting
2015-05-01 14:19:32 -07:00
Mitchell Hashimoto
fa222a44c3
terraform: limit parallelism
2015-02-19 12:08:34 -08:00
Mitchell Hashimoto
ae68cf1705
terraform: slightly better validation error messages
2015-02-19 12:08:33 -08:00
Mitchell Hashimoto
7ccba588ac
terraform: gofmt -w -r 'Context2 -> Context' terraform/
2015-02-19 12:08:32 -08:00
Mitchell Hashimoto
7c78a3749e
terraform: provider input
2015-02-19 12:08:08 -08:00
Mitchell Hashimoto
a614f6105a
terraform: apply starting
2015-02-19 12:08:04 -08:00
Mitchell Hashimoto
e089e34c89
terraform: graph walk should handle eval errors properly
2015-02-19 12:08:02 -08:00
Mitchell Hashimoto
23d097ee53
terraform: module inputs are passed through to subgraphs
2015-02-19 12:08:01 -08:00
Mitchell Hashimoto
aae2d4c780
terraform: starting up the plans
2015-02-19 12:08:00 -08:00
Mitchell Hashimoto
379c37dd06
terraform: refresh hooks
2015-02-19 12:08:00 -08:00
Mitchell Hashimoto
1e962b868d
terraform: Refresh, Read/Write state
2015-02-19 12:08:00 -08:00
Mitchell Hashimoto
863b9a4f45
terraform: filter eval nodes on operation
2015-02-19 12:07:59 -08:00
Mitchell Hashimoto
d847b2b672
terraform: provider config inheritance in modules
2015-02-19 12:07:59 -08:00
Mitchell Hashimoto
d94c4392eb
terraform: validate provisioners
2015-02-19 12:07:58 -08:00
Mitchell Hashimoto
31f6b7474d
terraform: more tests
2015-02-19 12:07:58 -08:00
Mitchell Hashimoto
b8bc3dc19b
terraform: provider should be cached by path
2015-02-19 12:07:58 -08:00
Mitchell Hashimoto
28a23a45f4
terraform: dynamic subgraph expansion for count
2015-02-19 12:07:57 -08:00
Mitchell Hashimoto
81856f99ba
terraform: better comments
2015-02-19 12:07:56 -08:00
Mitchell Hashimoto
58347617e8
terraform: trying this graphwalker thing
2015-02-19 12:07:56 -08:00