Commit Graph

159 Commits

Author SHA1 Message Date
Mitchell Hashimoto
10b5661bc3 terraform: planning tainted resources works 2014-09-19 22:35:29 -06:00
Mitchell Hashimoto
f89c2c5ff0 terraform: graph tainted resources into the graph 2014-09-19 21:29:48 -06:00
Armon Dadgar
9594ed6e1c terraform: minor cleanup 2014-09-19 14:54:21 -07:00
Armon Dadgar
5ef46b797b terraform: fixing dependency handling for orphans 2014-09-18 15:39:53 -07:00
Armon Dadgar
b2188d7fe8 terraform: properly handle diff generation with meta resources 2014-09-18 14:31:27 -07:00
Armon Dadgar
3b7c987889 terraform: EncodeDepedencies should override dep list 2014-09-18 13:33:05 -07:00
Armon Dadgar
a9c4b523db terraform: Encode dependencies of ResourceMeta ndoes 2014-09-18 11:22:40 -07:00
Armon Dadgar
364d210e59 terraform: fixing destroy dependency flipping twice 2014-09-18 11:02:14 -07:00
Armon Dadgar
9c5f2c3061 terraform: EncodeDependencies does not encode self dependence 2014-09-17 17:57:46 -07:00
Mitchell Hashimoto
7a2591190b terraform: fix graph test 2014-09-17 17:52:24 -07:00
Armon Dadgar
af3c55096c terraform: handle logical dependencies during a delete 2014-09-17 17:30:25 -07:00
Armon Dadgar
c14a17f39b terraform: save/restore dependency info for orphans 2014-09-17 17:01:55 -07:00
Armon Dadgar
bf072c5862 terraform: reorder list scan to reduce cost 2014-09-17 17:01:54 -07:00
Mitchell Hashimoto
9b2b3a963f ResourceDiff => InstanceDiff 2014-09-17 16:33:24 -07:00
Armon Dadgar
81abdcafdc terraform: fixing all the panics 2014-09-16 16:55:19 -07:00
Armon Dadgar
3404277f31 terraform: porting to new state 2014-09-16 12:34:21 -07:00
Mitchell Hashimoto
28a2e7b979 terraform: depends_on with count creates proper graph [GH-244] 2014-08-30 16:08:50 -07:00
Mitchell Hashimoto
2e777d87a2 terraform: fix potential case where cycle is made 2014-08-12 17:08:12 -07:00
Mitchell Hashimoto
78c32ac196 terraform: hooks around provisioners 2014-07-27 09:00:34 -07:00
Mitchell Hashimoto
7564a0a21c terraform: set state properly when tainted 2014-07-26 21:03:07 -07:00
Mitchell Hashimoto
1ee69761d4 terraform: self-referencing variables in provisoiners work 2014-07-24 07:58:45 -07:00
Mitchell Hashimoto
b51d18f1de terraform: more logs 2014-07-24 07:30:24 -07:00
Mitchell Hashimoto
f47956d62f terraform: dependsOn builds into the graph 2014-07-22 18:20:03 -07:00
Mitchell Hashimoto
10a86c6ef7 terraform: strict checks for state not being nil 2014-07-22 10:31:47 -07:00
Mitchell Hashimoto
14f7067b0c terraform: taint plan requires destroy/create 2014-07-22 10:30:42 -07:00
Mitchell Hashimoto
c6f049ffc6 terraform: add panic in impossible case 2014-07-19 16:07:09 -07:00
Mitchell Hashimoto
7bd7e4218f config: make ProviderConfigs slice 2014-07-19 16:05:48 -07:00
Armon Dadgar
94c95afa48 terraform: Passthrough provisioner level connection info 2014-07-15 12:34:06 -07:00
Armon Dadgar
2423d135ac terraform: Move the config initialization of provisioners 2014-07-10 11:38:57 -07:00
Armon Dadgar
9fc6413775 terraform: Ignore orphans in provisioner setup 2014-07-10 11:38:56 -07:00
Armon Dadgar
8901a6753b terraform: Handle setup of providers in graph construction 2014-07-10 11:38:56 -07:00
Mitchell Hashimoto
251790f05a terraform: add ID to diff implicitly 2014-07-08 16:58:31 -07:00
Mitchell Hashimoto
d0dc045282 terraform: make sure the config is initialized 2014-07-08 16:17:29 -07:00
Mitchell Hashimoto
9f56fc8ddc terraform: copy the proper dependencies over on destroy plan 2014-07-07 15:43:32 -07:00
Mitchell Hashimoto
55eb06929e terraform: fix cycle that could happen during destroy 2014-07-07 15:38:27 -07:00
Mitchell Hashimoto
916eb5aaf3 terraform: copy before modifying struct in graphAddDiff
/cc @pearkes - Fixes the destroy bug
2014-07-07 12:53:39 -07:00
Mitchell Hashimoto
3b3c9e140a terraform: tests for increasing count from 1 to > 1 2014-07-03 21:47:07 -07:00
Mitchell Hashimoto
c5a0b9cb40 terraform: test case for decreasing the count 2014-07-03 21:42:18 -07:00
Mitchell Hashimoto
a616218d13 terraform: planning and applying multi-count resources tests 2014-07-03 21:24:17 -07:00
Mitchell Hashimoto
ba144ef933 terraform: clean up root deps on the graph 2014-07-03 20:51:31 -07:00
Mitchell Hashimoto
e7b7644cbf terraform: turn multi-counts into multiple nodes 2014-07-03 20:42:29 -07:00
Mitchell Hashimoto
947fa4e669 terraform: Context introduction 2014-07-03 10:14:17 -07:00
Mitchell Hashimoto
2ffbe56b1b terraform: graph root doesn't need to depend on providers 2014-07-01 10:01:27 -07:00
Mitchell Hashimoto
fceea12ade terraform: some basic validation 2014-06-30 21:25:15 -07:00
Mitchell Hashimoto
8aa8d2183e terraform: clarify docs 2014-06-30 21:24:26 -07:00
Mitchell Hashimoto
93bf75f464 terraform: comments 2014-06-30 21:22:08 -07:00
Mitchell Hashimoto
0bd704b2f1 terraform: GraphOpts and unification into a single Graph function 2014-06-30 21:21:13 -07:00
Mitchell Hashimoto
2d72164c6a terraform: graph can add "destroy" nodes 2014-06-30 19:10:44 -07:00
Mitchell Hashimoto
6f274eb7a9 terraform: GraphAddDiff works on a basic level 2014-06-30 18:18:56 -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
9d4f7b71c4 terraform: fill in the graph with the providers 2014-06-25 14:47:38 -07:00
Mitchell Hashimoto
cdab89d7c1 terraform: getting closer to mapping resource providers properly 2014-06-25 12:58:27 -07:00
Mitchell Hashimoto
0bf394dfe2 terraform: make our own graph meta 2014-06-24 15:25:04 -07:00
Mitchell Hashimoto
b6272a4a69 terraform: comments 2014-06-24 15:06:35 -07:00
Mitchell Hashimoto
1918f199d8 terraform: Graph, config: don't build graph 2014-06-24 14:58:57 -07:00