Commit Graph

204 Commits

Author SHA1 Message Date
Mitchell Hashimoto
733752122a terraform: stopHook and tests 2014-07-02 16:16:38 -07:00
Mitchell Hashimoto
2aed2fd96f Fix various order-dependent tests 2014-07-01 10:28:42 -07:00
Mitchell Hashimoto
d026d4207e terraform: apply diff before apply 2014-06-30 19:29:07 -07:00
Mitchell Hashimoto
521b432728 terraform: add Dependencies to ResourceState 2014-06-30 17:40:56 -07:00
Mitchell Hashimoto
b3de33cc69 terraform: failing test but fixes another bug 2014-06-30 11:14:03 -07:00
Mitchell Hashimoto
acc6686cca terraform: Set Destroy: true to PlanOpts to delete everything 2014-06-29 16:28:50 -07:00
Mitchell Hashimoto
5c836ab861 terraform: PlanOpts for expanding plan configuration 2014-06-28 13:10:11 -07:00
Mitchell Hashimoto
5a84a24d12 terraform: pre/post apply hook 2014-06-26 22:09:16 -07:00
Mitchell Hashimoto
ae6b85e11b terraform: diff hooks 2014-06-26 17:17:10 -07:00
Mitchell Hashimoto
501f926eba terraform: initial hook impl 2014-06-26 16:52:15 -07:00
Mitchell Hashimoto
1d9d33c8a0 terraform: destroy orphans 2014-06-25 21:58:33 -07:00
Mitchell Hashimoto
84a645712b terraform: Type should always be set on ResourceState 2014-06-25 18:29:36 -07:00
Mitchell Hashimoto
d64ba66edb command: adhere to new API 2014-06-25 18:22:42 -07:00
Mitchell Hashimoto
4b263992cc terraform: remove unused code 2014-06-25 18:13:58 -07:00
Mitchell Hashimoto
0f2d7f430c terraform: all tests passing 2014-06-25 18:12:03 -07:00
Mitchell Hashimoto
e9d1be397c terraform: Plan seems to work again 2014-06-25 17:40:50 -07:00
Mitchell Hashimoto
c68cfc5e6f terraform: test that state is properly sent to Refresh 2014-06-25 15:52:15 -07:00
Mitchell Hashimoto
8a44ca984e terraform: Refresh tests 2014-06-25 15:39:44 -07:00
Mitchell Hashimoto
abe205fc27 terraform: GraphFull tests 2014-06-25 14:53:32 -07:00
Mitchell Hashimoto
cdab89d7c1 terraform: getting closer to mapping resource providers properly 2014-06-25 12:58:27 -07:00
Mitchell Hashimoto
1918f199d8 terraform: Graph, config: don't build graph 2014-06-24 14:58:57 -07:00
Mitchell Hashimoto
24c9b7c987 terraform: make sure state is set to something on refresh 2014-06-23 20:40:32 -07:00
Mitchell Hashimoto
c5a621a47a terraform: error if unknown variable retruned 2014-06-23 13:08:25 -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
3aab0cd21b terraform: Apply takes a plan 2014-06-20 12:49:01 -07:00
Mitchell Hashimoto
2fd129ddc4 terraform: support both raw and clean config 2014-06-20 12:07:18 -07:00
Mitchell Hashimoto
f7a6cbf247 terraform: rename Diff to Plan on Terraform API 2014-06-20 10:44:49 -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
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
a58b2c8675 terraform: ResourceState contains type 2014-06-18 09:30:59 -07:00
Mitchell Hashimoto
8a2eb95a42 terraform: Validate called on provider 2014-06-12 22:30:09 -07:00
Mitchell Hashimoto
a256f27b24 terraform: pass through the unknown keys 2014-06-12 18:11:21 -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
997724dc57 terraform: know whether create or update resource 2014-06-10 11:37:04 -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
Mitchell Hashimoto
061d96a08b terraform: test case for if diff returns nil 2014-06-10 10:50:23 -07:00
Mitchell Hashimoto
02a3603a9a rpc: Diff implementation 2014-06-06 00:48:32 -07:00
Mitchell Hashimoto
ce0867fa09 terraform: call Configure on the provider 2014-06-06 00:20:23 -07:00
Mitchell Hashimoto
967d4a61c1 terraform: tests that computed placeholders get inserted proprely 2014-06-05 20:17:03 -07:00
Mitchell Hashimoto
d58feeeafe terraform: find configs for providers 2014-06-05 19:56:35 -07:00
Mitchell Hashimoto
02fde14fb6 terraform: simplify semantic checks out into sep functions 2014-06-05 11:53:07 -07:00
Mitchell Hashimoto
9018beda81 terraform: placeholder key for computed values 2014-06-05 11:30:48 -07:00
Mitchell Hashimoto
d77a72ba84 terraform: take into account dependency variables in diffs 2014-06-05 07:27:01 -07:00
Mitchell Hashimoto
7c6920bba1 terraform: diff/state work better together, merge 2014-06-05 06:57:06 -07:00
Mitchell Hashimoto
e904fca3da terraform: Diff! 2014-06-05 02:32:10 -07:00
Mitchell Hashimoto
d731d033f1 terraform: build resource graph, validate 2014-06-03 17:14:19 -07:00
Mitchell Hashimoto
d2088463d3 terraform: validate required variables are all set 2014-06-03 15:56:43 -07:00
Mitchell Hashimoto
c9d8413431 terraform: New happy path works decently well 2014-06-03 15:08:00 -07:00