Commit Graph

532 Commits

Author SHA1 Message Date
Mitchell Hashimoto 50095612a2 config: resource should be unique 2014-07-18 16:31:01 -07:00
Mitchell Hashimoto 5329124cf9 config: unknown keys give errors 2014-07-18 16:00:21 -07:00
Armon Dadgar 2f2f5890f4 config: Testing loading of connection blocks 2014-07-15 12:34:06 -07:00
Armon Dadgar 36b1a2b9e8 config: Parse out special 'connection' blocks 2014-07-15 12:34:06 -07:00
Mitchell Hashimoto 7a01e781ab config: LoadDir with no matching files errors 2014-07-11 21:04:59 -07:00
Mitchell Hashimoto 6dfebcae69 config: test that we only load tf files 2014-07-11 20:17:25 -07:00
Mitchell Hashimoto 8655711a3f config: test that LoadDir doesn't load nested 2014-07-11 20:16:49 -07:00
Mitchell Hashimoto 14b29d0ecd config: LoadDir 2014-07-11 20:15:09 -07:00
Mitchell Hashimoto 9d028ab6de config: reword for ".tf" extension force 2014-07-11 20:05:38 -07:00
Armon Dadgar 34e733724d config: Update test to handle count 2014-07-10 11:38:55 -07:00
Mitchell Hashimoto e250a6f36c config: understand "provisioner" blocks 2014-07-10 11:38:55 -07:00
Mitchell Hashimoto 021a0db636 config: deterministic test ordering 2014-07-08 14:57:47 -07:00
Mitchell Hashimoto cfb08b6c60 config: mark even index accesses as a multi-access 2014-07-06 13:56:18 -07:00
Mitchell Hashimoto aa6a758f6b config: if count > 1, variable references must have index
/cc @pearkes - Here is that validation
2014-07-06 13:46:56 -07:00
Mitchell Hashimoto 07f98f7ee7 config: special detect ResourceVariables for multi-access 2014-07-05 10:34:52 -07:00
Mitchell Hashimoto ed1860de61 config: validate output only has "value" field 2014-07-04 10:57:09 -07:00
Mitchell Hashimoto a4f38a3933 config: validate resource variables in output 2014-07-04 10:53:36 -07:00
Mitchell Hashimoto cc2bb950a1 config: can parse outputs 2014-07-04 10:43:06 -07:00
Mitchell Hashimoto 5e79ddf7c6 config: detect variables in form of resource.name.*.blah 2014-07-03 20:41:26 -07:00
Mitchell Hashimoto 3337a625af config: support count meta-parameter 2014-07-03 20:11:58 -07:00
Mitchell Hashimoto 947fa4e669 terraform: Context introduction 2014-07-03 10:14:17 -07:00
Mitchell Hashimoto 78e056770c config: validate that resource references are valid 2014-07-02 21:06:26 -07:00
Mitchell Hashimoto 532cc33189 config: semantic check on variable references 2014-07-02 21:01:03 -07:00
Mitchell Hashimoto e50425b182 config: style 2014-07-02 12:04:37 -07:00
Mitchell Hashimoto 49e8477e9d config: fix order-dependent tests 2014-07-02 10:05:39 -07:00
Mitchell Hashimoto 7ab7ce17d9 config: tests passing for bug @pearkes found 2014-07-02 09:11:31 -07:00
Jack Pearkes d84c5fb015 config: fix libucl in test case (still failing) 2014-07-01 21:18:01 -07:00
Jack Pearkes bef1495c96 config: add failing test case for nested objects 2014-07-01 21:16:47 -07:00
Mitchell Hashimoto 2aed2fd96f Fix various order-dependent tests 2014-07-01 10:28:42 -07:00
Mitchell Hashimoto 46d3800a39 config: remove some unused test fixtures 2014-06-24 15:02:02 -07:00
Mitchell Hashimoto 1918f199d8 terraform: Graph, config: don't build graph 2014-06-24 14:58:57 -07:00
Mitchell Hashimoto 9acb9535ad config: ProviderConfigName shouldn't be on Resource 2014-06-24 13:29:07 -07:00
Mitchell Hashimoto d1cfb38bb8 config: ReplaceVariables is public 2014-06-20 11:41:12 -07:00
Mitchell Hashimoto d2001275dc terraform: initial Plan structure
This is REALLY heavy and would be really hard to maintain any sort
of compatibility with, but it is what we're going to do during dev
initially (if we don't ship with it) in order to just get stuff working.
2014-06-20 10:33:26 -07:00
Mitchell Hashimoto 69841c22e6 config: RawConfig.Config returns raw if no interpolate 2014-06-12 17:47:05 -07:00
Mitchell Hashimoto 8c50aa6382 config: use the RawConfig whereever posible 2014-06-12 17:40:59 -07:00
Mitchell Hashimoto 6420e4bd81 config: reorder 2014-06-12 17:27:53 -07:00
Mitchell Hashimoto bbca28a0ef config: test double interpolating 2014-06-12 17:26:05 -07:00
Mitchell Hashimoto e445f8db38 config: RawConfig works, plus tests 2014-06-12 17:24:55 -07:00
Mitchell Hashimoto a24b30b8d2 config: remove redundant variables 2014-06-12 17:03:15 -07:00
Mitchell Hashimoto 0ad9d9ddc7 config: keep track of unknown keys during interpolate 2014-06-12 17:00:50 -07:00
Mitchell Hashimoto 1af5aee146 config: remove unknown variable elements from the config 2014-06-12 16:40:53 -07:00
Mitchell Hashimoto e502bf6ba9 config: comply to reflectwalk interface 2014-06-12 16:24:08 -07:00
Mitchell Hashimoto 23d96248aa No need for a root name constant, just check for Meta == nil 2014-06-05 12:59:55 -07:00
Mitchell Hashimoto 82d527f798 config: rename ResourceGraph to Graph 2014-06-05 12:55:21 -07:00
Mitchell Hashimoto 867f6b3691 config: test to make sure that cycles are properly detected 2014-06-05 12:53:59 -07:00
Mitchell Hashimoto d2c3db552a config: providerconfigs can replace variables 2014-06-05 12:52:07 -07:00
Mitchell Hashimoto 3ccfd4d08c config: depgraph can contain provider configuratoins 2014-06-05 12:47:28 -07:00
Mitchell Hashimoto e2fa7094bd config: ProviderConfigName on Resource 2014-06-05 12:21:05 -07:00
Mitchell Hashimoto 7c6920bba1 terraform: diff/state work better together, merge 2014-06-05 06:57:06 -07:00
Mitchell Hashimoto bd1f235b9b config: allow applying variables to resources 2014-06-05 06:23:41 -07:00
Mitchell Hashimoto d731d033f1 terraform: build resource graph, validate 2014-06-03 17:14:19 -07:00
Mitchell Hashimoto 0008ff12c7 config: determine whether a variable is required properly 2014-06-03 15:55:51 -07:00
Mitchell Hashimoto 9895f8162f config: unix line endings in tests 2014-05-30 17:38:35 -07:00
Mitchell Hashimoto ab507814b7 config: support for provider configs 2014-05-25 18:05:18 -07:00
Mitchell Hashimoto 81bfa8970a config: make the tests a bit more intense 2014-05-24 14:02:49 -07:00
Mitchell Hashimoto bdeb278728 config: simplify 2014-05-24 13:58:33 -07:00
Mitchell Hashimoto dac18c823a config: can generate depgraph 2014-05-24 13:57:51 -07:00
Mitchell Hashimoto 3728e1cfc0 fmt 2014-05-24 12:51:31 -07:00
Mitchell Hashimoto 6983a0414a config: fix line endings on a test fixture 2014-05-24 11:44:48 -07:00
Mitchell Hashimoto bb0980f5ba config: tests for instantiating interpolated var types 2014-05-24 11:41:19 -07:00
Mitchell Hashimoto 9fef261eae config: comments 2014-05-24 11:36:22 -07:00
Mitchell Hashimoto 27c97b9b73 config: add benchmark for replace walker 2014-05-24 11:35:15 -07:00
Mitchell Hashimoto 2ecf1b500f config: careful with addressability and replacing variables 2014-05-23 23:15:00 -07:00
Mitchell Hashimoto 537fa6cc87 config: more tests for variable detector 2014-05-23 22:12:48 -07:00
Mitchell Hashimoto 1c9582ff38 config: set benchmark timer at right point 2014-05-23 22:11:33 -07:00
Mitchell Hashimoto 5bb51e50dd config: add benchmark test 2014-05-23 22:10:32 -07:00
Mitchell Hashimoto be83044f59 config: tests, error cases 2014-05-23 22:07:33 -07:00
Mitchell Hashimoto 95ef186bf8 config: can detect variables in config strings 2014-05-23 21:58:06 -07:00
Mitchell Hashimoto f22cc62b2c config: better memory management for libucl 2014-05-23 16:30:28 -07:00
Mitchell Hashimoto 50830e429a config: merge resources 2014-05-23 16:25:54 -07:00
Mitchell Hashimoto 14a25e6b58 config: merge configs 2014-05-23 16:09:41 -07:00
Mitchell Hashimoto aadb24aa08 config: error if unknown filetype 2014-05-23 15:42:29 -07:00
Mitchell Hashimoto 04d88b0540 config: move things out into more files 2014-05-23 15:35:18 -07:00
Mitchell Hashimoto c1dea5e5b3 config: comments 2014-05-23 15:32:34 -07:00
Mitchell Hashimoto 218cc80aab config: refactoring to be less libucl-specific 2014-05-23 15:28:19 -07:00
Mitchell Hashimoto 2ffee2a142 config: imports are relative to tf 2014-05-23 15:11:57 -07:00
Mitchell Hashimoto 88bb42b5a4 config: loader rename 2014-05-23 15:06:58 -07:00
Mitchell Hashimoto 7cfd360fea config: load the import tree 2014-05-23 15:06:37 -07:00
Mitchell Hashimoto fb9c58f0e2 config: better error message 2014-05-23 11:03:38 -07:00
Mitchell Hashimoto 089822a36f config: some comments 2014-05-23 10:52:19 -07:00
Mitchell Hashimoto ec3f72703c Initial work on config 2014-05-22 16:56:28 -07:00