Commit Graph

126 Commits

Author SHA1 Message Date
Armon Dadgar 1ec0602cab terraform: Add new remote storage fields to state 2014-12-10 13:27:06 -08:00
Armon Dadgar a5d444b8e3 terraform: fix module output handling. Fixes #474 2014-11-24 19:18:52 -08:00
Armon Dadgar 9707eb3fc8 terraform: Add dependencies field to modules 2014-11-21 15:34:23 -08:00
Mitchell Hashimoto edf85de411 terraform: output state in human-readable format
/cc @armon - Didn't need to save the bits here, plus it makes it easier
for someone to go in and modify this stuff
2014-10-12 22:56:34 -07:00
Mitchell Hashimoto d2e836275b terraform: sort the modules in the state [GH-318] 2014-10-11 12:47:06 -07:00
Mitchell Hashimoto 101ac636a2 config: add Config method 2014-10-02 11:34:08 -07:00
Mitchell Hashimoto fb1c224e12 terraform: expand resource nodes at walk time 2014-10-02 10:42:58 -07:00
Mitchell Hashimoto 3941dbac5d fmt 2014-09-28 11:51:49 -07:00
Mitchell Hashimoto e5e51d7b17 command: state output is well formatted for modules 2014-09-25 19:25:10 -07:00
Mitchell Hashimoto 6b2781d77c terraform: module orphans 2014-09-23 14:57:17 -07:00
Mitchell Hashimoto d443202b31 terraform: fix copying dependencies 2014-09-23 14:20:26 -07:00
Mitchell Hashimoto b1a583e3de terraform: plan with modules work 2014-09-23 14:15:40 -07:00
Mitchell Hashimoto a6f792b3aa terraform: update graph to build subgraphs for modules 2014-09-22 16:48:18 -07:00
Mitchell Hashimoto 46c1209c92 terraform: State.String outputs multiple modules 2014-09-22 15:53:18 -07:00
Mitchell Hashimoto ca875f5457 terraform: fix missing arg to Printf 2014-09-21 22:36:34 -07:00
Mitchell Hashimoto 157843725d terraform: refreshing tainted resources works 2014-09-19 22:28:13 -06:00
Armon Dadgar 5e0765c24a terraform: Refresh handles tainted instances 2014-09-19 16:24:17 -07:00
Armon Dadgar 1d96373a54 terraform: deepcopy should not alloc when nil 2014-09-19 16:15:52 -07:00
Armon Dadgar 8e421caba1 terraform: show each tainted ID 2014-09-19 15:04:21 -07:00
Armon Dadgar ff42a92636 terraform: State string includes how many resources are tainted 2014-09-19 14:55:59 -07:00
Armon Dadgar a1c4a27715 terraform: Drop useless field 2014-09-19 14:45:12 -07:00
Armon Dadgar 68614aeb79 terraform: Guard against future version changes 2014-09-18 13:43:26 -07:00
Armon Dadgar ec4be66f63 terraform: ensure file version is set and serial incremented 2014-09-18 13:38:36 -07:00
Mitchell Hashimoto 15564b04a5 command: tests pass 2014-09-18 10:40:35 -07:00
Armon Dadgar 4db7282072 terraform: first pass at state file upgrades 2014-09-17 18:24:53 -07:00
Armon Dadgar 18a91a87c9 terraform: first stab at read/write of state 2014-09-17 18:13:38 -07:00
Mitchell Hashimoto 1aff5e98e1 terraform: some deepcopying going on 2014-09-17 17:18:17 -07:00
Mitchell Hashimoto 9b2b3a963f ResourceDiff => InstanceDiff 2014-09-17 16:33:24 -07:00
Armon Dadgar 71782c57b3 terraform: emit ID of tainted resource in string 2014-09-16 17:37:39 -07:00
Armon Dadgar 81abdcafdc terraform: fixing all the panics 2014-09-16 16:55:19 -07:00
Armon Dadgar 25a3cc480c terraform: fixing tons of panics 2014-09-16 16:32:01 -07:00
Mitchell Hashimoto 95f3e626a5 terraform: modify the ResourceProvider API super hardcore 2014-09-16 16:20:11 -07:00
Armon Dadgar 4b0f970659 terraform: fixing test errors 2014-09-16 15:09:40 -07:00
Armon Dadgar 196991430b terraform: Resolving more errors 2014-09-16 14:26:27 -07:00
Armon Dadgar 04a2b5288b terraform: fixing errors 2014-09-16 12:34:08 -07:00
Armon Dadgar 3963b42625 terraform: Fixing up context 2014-09-16 12:12:15 -07:00
Armon Dadgar 9cbd71b88d terraform: Changing how instances are represented 2014-09-15 17:49:31 -07:00
Armon Dadgar f5fc4933e5 terraform: working through errors 2014-09-15 17:30:18 -07:00
Armon Dadgar a85d6fa6c3 terraform: Adding module lookups for state 2014-09-15 17:11:36 -07:00
Armon Dadgar ab7ae0516c terraform: handle state pruning 2014-09-15 17:06:32 -07:00
Armon Dadgar bb26c79421 terraform: Adding deepcopy() to new state 2014-09-15 16:08:13 -07:00
Armon Dadgar 5dc37bafe6 Adding the new state structures 2014-09-15 15:31:17 -07:00
Mitchell Hashimoto 6d6cd793e0 terraform: GoString for *ResourceState 2014-08-20 10:38:51 -07:00
Mitchell Hashimoto a3639b6156 terraform: further tests around count edge cases, fix 1 => N case
/cc @pearkes

GH-35
2014-07-26 14:55:42 -07:00
Mitchell Hashimoto 86903eb18f terraform: fix issues with tainted marking 2014-07-24 08:49:54 -07:00
Mitchell Hashimoto 192fc1e544 terraform: mark resource as tainted if provisioning fails 2014-07-22 10:09:11 -07:00
Armon Dadgar 104b28e19e terraform: Remove ResourceConnectionInfo, use raw map 2014-07-15 12:34:07 -07:00
Armon Dadgar 94c95afa48 terraform: Passthrough provisioner level connection info 2014-07-15 12:34:06 -07:00
Mitchell Hashimoto 3af16c8faf terraform: don't process outputs when all we did was destroy 2014-07-13 11:07:31 -07:00
Mitchell Hashimoto 539a6c244e terraform: Read/WriteState sets magic bytes 2014-07-11 21:42:09 -07:00
Armon Dadgar 3e608ee8b9 terraform: Do not persist sensitive state 2014-07-10 12:01:26 -07:00
Armon Dadgar 5a5f1df115 terraform: Adding ResourceConnectionInfo 2014-07-10 11:38:55 -07:00
Mitchell Hashimoto cb52983c84 terraform: MergeDiff removes removed attributes in diff 2014-07-09 10:04:14 -07:00
Mitchell Hashimoto eda3cb009c terraform: make sure the "id" attribute is in the state 2014-07-08 17:15:41 -07:00
Mitchell Hashimoto 582d81ed03 terraform: converge on calculated variables rather than caching 2014-07-06 23:03:51 -07:00
Mitchell Hashimoto 4b5f5aec65 terraform: outputs are computed for the state 2014-07-04 15:36:28 -07:00
Mitchell Hashimoto c5a0b9cb40 terraform: test case for decreasing the count 2014-07-03 21:42:18 -07:00
Mitchell Hashimoto 2aed2fd96f Fix various order-dependent tests 2014-07-01 10:28:42 -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 d64ba66edb command: adhere to new API 2014-06-25 18:22:42 -07:00
Mitchell Hashimoto 1918f199d8 terraform: Graph, config: don't build graph 2014-06-24 14:58:57 -07:00
Mitchell Hashimoto 7eacacbff2 terraform: MergeDiff can take nil diff 2014-06-23 12:32:04 -07:00
Mitchell Hashimoto 92ffbf2880 terraform: re-diff on apply 2014-06-23 12:19:41 -07:00
Mitchell Hashimoto e8808db8c3 terraform: MergeDiff uses a Diff as an argument 2014-06-19 14:08:10 -07:00
Mitchell Hashimoto 2dff411679 terraform: read/write state to reader/writer 2014-06-18 20:54:22 -07:00
Mitchell Hashimoto 830ddf0c8e terraform: basic apply tests 2014-06-18 16:38:08 -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 fd39728cbb terraform: start using the RawConfig interpolations 2014-06-12 17:51:38 -07:00
Mitchell Hashimoto d77a72ba84 terraform: take into account dependency variables in diffs 2014-06-05 07:27:01 -07:00
Mitchell Hashimoto 8358e7dc1f terraform: support MergeDiff for nil ResourceState 2014-06-05 07:04:44 -07:00
Mitchell Hashimoto 082e784566 terraform: computeID 2014-06-05 07:01:51 -07:00
Mitchell Hashimoto 7c6920bba1 terraform: diff/state work better together, merge 2014-06-05 06:57:06 -07:00
Mitchell Hashimoto d731d033f1 terraform: build resource graph, validate 2014-06-03 17:14:19 -07:00
Mitchell Hashimoto 1b5dfa043b terraform: some files laying out an API 2014-05-28 13:56:43 -07:00