Commit Graph

145 Commits

Author SHA1 Message Date
Mitchell Hashimoto
344fd805f4 command/apply: fail if state doesn't exist and no -init 2014-06-19 12:17:56 -07:00
Mitchell Hashimoto
879921d70f command/apply: test that diff runs with existing state 2014-06-19 12:13:47 -07:00
Mitchell Hashimoto
d4994b5d44 command/apply: read existing state 2014-06-19 12:12:24 -07:00
Mitchell Hashimoto
82af81b606 command: tests for apply 2014-06-18 21:36:44 -07:00
Mitchell Hashimoto
b62ff0412f terraform: apply works if no state is returned 2014-06-18 21:14:34 -07:00
Mitchell Hashimoto
2dff411679 terraform: read/write state to reader/writer 2014-06-18 20:54:22 -07:00
Mitchell Hashimoto
3b3ea2944c terraform: comments 2014-06-18 20:46:46 -07:00
Mitchell Hashimoto
333ad153d0 terraform: add a format byte to the diff file so we can iterate maybe 2014-06-18 20:46:13 -07:00
Mitchell Hashimoto
e5b82931ff terraform: read/write diff to binary format 2014-06-18 20:34:39 -07:00
Mitchell Hashimoto
965d403d3d providers/aws: Apply 2014-06-18 16:52:21 -07:00
Mitchell Hashimoto
8c1a69aa0a rpc: implement Apply 2014-06-18 16:49:34 -07:00
Mitchell Hashimoto
8aa99687c3 command/apply: basic implementation 2014-06-18 16:42:13 -07:00
Mitchell Hashimoto
830ddf0c8e terraform: basic apply tests 2014-06-18 16:38:08 -07:00
Mitchell Hashimoto
9f5b6cc40f terraform: applyFn 2014-06-18 16:09:48 -07:00
Mitchell Hashimoto
b3e20a3e85 terraform: basic apply, more tests needed 2014-06-18 15:35:03 -07:00
Mitchell Hashimoto
4711850cf3 providers/aws: generate diff 2014-06-18 09:33:13 -07:00
Mitchell Hashimoto
a58b2c8675 terraform: ResourceState contains type 2014-06-18 09:30:59 -07:00
Mitchell Hashimoto
0d557a605f providers/aws: use new diff package 2014-06-17 19:14:44 -07:00
Mitchell Hashimoto
847cd7ac51 diff: lazy resource map 2014-06-17 19:06:13 -07:00
Mitchell Hashimoto
dd16ff65c6 diff: comments 2014-06-17 18:43:10 -07:00
Mitchell Hashimoto
602b7df97d diff: beginning work on higher level diff builder 2014-06-17 18:40:32 -07:00
Mitchell Hashimoto
f032ce6c1b terraform: ResourceDiff tests 2014-06-17 18:10:38 -07:00
Mitchell Hashimoto
6bef265514 terraform: IsSet can be called on nil 2014-06-12 23:23:15 -07:00
Mitchell Hashimoto
7980aa96a8 rpc: use a transport that supports nil pointers 2014-06-12 23:22:28 -07:00
Mitchell Hashimoto
c10eed752f terraform: tests for ResourceConfig.Get 2014-06-12 23:16:28 -07:00
Mitchell Hashimoto
9751878513 terraform: helpers on ResourceConfig 2014-06-12 23:08:47 -07:00
Mitchell Hashimoto
0b9542c5b9 providers/aws: compile 2014-06-12 22:39:29 -07:00
Mitchell Hashimoto
cc491e61bc rpc: conform to new Validate method 2014-06-12 22:37:46 -07:00
Mitchell Hashimoto
8a2eb95a42 terraform: Validate called on provider 2014-06-12 22:30:09 -07:00
Mitchell Hashimoto
00a8c4f2ca providers/aws: get tests passing 2014-06-12 22:15:36 -07:00
Mitchell Hashimoto
a256f27b24 terraform: pass through the unknown keys 2014-06-12 18:11:21 -07:00
Mitchell Hashimoto
f15746f692 rpc: conform to new types 2014-06-12 18:06:26 -07:00
Mitchell Hashimoto
7e421dd89b terraform: ResourceConfig 2014-06-12 17:59:59 -07:00
Mitchell Hashimoto
fd39728cbb terraform: start using the RawConfig interpolations 2014-06-12 17:51:38 -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
997724dc57 terraform: know whether create or update resource 2014-06-10 11:37:04 -07:00
Mitchell Hashimoto
fa6a87e819 providers/aws: some mock data 2014-06-10 11:34:14 -07:00
Mitchell Hashimoto
c81e3f4db7 command/diff: show diff string output 2014-06-10 11:34:08 -07:00
Mitchell Hashimoto
469d20afe3 terraform: note which attributes require a new resource 2014-06-10 11:33:59 -07:00
Mitchell Hashimoto
fac68b0c09 terraform: match key lengths up in a diff 2014-06-10 11:30:54 -07:00
Mitchell Hashimoto
36a99b5920 terraform: alphabetize attributes in diff 2014-06-10 11:27:17 -07:00
Mitchell Hashimoto
32afc6dc70 terraform: Diff.String 2014-06-10 11:22:32 -07:00