Commit Graph

9555 Commits

Author SHA1 Message Date
Mitchell Hashimoto f7a6cbf247 terraform: rename Diff to Plan on Terraform API 2014-06-20 10:44:49 -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 dc193f5f33 terraform: call refresh before every diff
In the future, we'll make this a separate thing...
2014-06-19 21:22:07 -07:00
Mitchell Hashimoto 74d75e87d6 command/diff: output if no changes 2014-06-19 14:58:30 -07:00
Mitchell Hashimoto 1449d8a510 terraform: Diff.Empty 2014-06-19 14:57:36 -07:00
Mitchell Hashimoto 23c8350ba4 Add the state to the gitignore 2014-06-19 14:09:03 -07:00
Mitchell Hashimoto 6618f39797 providers/aws: diff properly 2014-06-19 14:08:48 -07:00
Mitchell Hashimoto e8808db8c3 terraform: MergeDiff uses a Diff as an argument 2014-06-19 14:08:10 -07:00
Mitchell Hashimoto c646c9c9ad command/diff: whitespace 2014-06-19 13:51:28 -07:00
Mitchell Hashimoto 26550b9ddd command/diff: use state 2014-06-19 13:51:05 -07:00
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