Commit Graph

29573 Commits

Author SHA1 Message Date
Mitchell Hashimoto c556e2ad48 providers/aws: start filling out 2014-06-23 19:01:57 -07:00
Mitchell Hashimoto 9b4b89c16c diff: don't magically put ID in there, assumed if not set 2014-06-23 13:14:08 -07:00
Mitchell Hashimoto c5a621a47a terraform: error if unknown variable retruned 2014-06-23 13:08:25 -07:00
Mitchell Hashimoto 175b720ab1 diff: mark diff properly with input/output 2014-06-23 12:49:30 -07:00
Mitchell Hashimoto 7eacacbff2 terraform: MergeDiff can take nil diff 2014-06-23 12:32:04 -07:00
Mitchell Hashimoto d93df76f66 terraform: some comments 2014-06-23 12:30:29 -07:00
Mitchell Hashimoto 9e8f578c8b terraform: test that varaibles from the plan are interpolated in 2014-06-23 12:28:02 -07:00
Mitchell Hashimoto 92ffbf2880 terraform: re-diff on apply 2014-06-23 12:19:41 -07:00
Mitchell Hashimoto 84cf644a30 command: apply uses the new plan structure 2014-06-20 12:51:42 -07:00
Mitchell Hashimoto 3aab0cd21b terraform: Apply takes a plan 2014-06-20 12:49:01 -07:00
Mitchell Hashimoto a0cbbab03b diff: comments 2014-06-20 12:12:53 -07:00
Mitchell Hashimoto 9e42654145 diff: show properly fufilled variables if possible 2014-06-20 12:12:24 -07:00
Mitchell Hashimoto 2fd129ddc4 terraform: support both raw and clean config 2014-06-20 12:07:18 -07:00
Mitchell Hashimoto 7fa9bedefd providers/aws: adhere to interface 2014-06-20 11:52:21 -07:00
Mitchell Hashimoto 5dbb9c821a rpc: add Refresh method 2014-06-20 11:51:07 -07:00
Mitchell Hashimoto bff4b8a58c command: plan 2014-06-20 11:47:02 -07:00
Mitchell Hashimoto d1cfb38bb8 config: ReplaceVariables is public 2014-06-20 11:41:12 -07:00
Mitchell Hashimoto 686b563428 terraform: build a plan 2014-06-20 11:03:33 -07:00
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