Commit Graph

84 Commits

Author SHA1 Message Date
Mitchell Hashimoto 7564a0a21c terraform: set state properly when tainted 2014-07-26 21:03:07 -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 79a9dfce4a terraform: add test for diff var changing 2014-07-24 20:24:59 -07:00
Mitchell Hashimoto 1ee69761d4 terraform: self-referencing variables in provisoiners work 2014-07-24 07:58:45 -07:00
Mitchell Hashimoto 14f7067b0c terraform: taint plan requires destroy/create 2014-07-22 10:30:42 -07:00
Mitchell Hashimoto 192fc1e544 terraform: mark resource as tainted if provisioning fails 2014-07-22 10:09:11 -07:00
Mitchell Hashimoto 808036bf60 terraform: ResourceProvisioner can't return a state anymore 2014-07-22 09:56:39 -07:00
Mitchell Hashimoto 83ba038423 terraform: mapping overrides work 2014-07-22 08:18:53 -07:00
Mitchell Hashimoto 5795db9232 terraform: test regular variable default 2014-07-22 08:14:20 -07:00
Mitchell Hashimoto c9a20c3c58 terraform: test that mapping lookups work 2014-07-22 08:06:09 -07:00
Mitchell Hashimoto ff36378c4e terraform: partial state should be saved on apply error 2014-07-17 15:32:19 -07:00
Armon Dadgar cfc7b69bb1 terraform: Test provisioner apply 2014-07-10 11:38:56 -07:00
Armon Dadgar e8245f1a67 terraform: Testing graph construction with provisioners 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
Armon Dadgar 8f4cd641df terraform: minimal apply test case 2014-07-08 16:12:30 -07:00
Mitchell Hashimoto d83e687865 terraform: TODO the checksum struct 2014-07-08 14:51:51 -07:00
Mitchell Hashimoto 177f8c094d helper/diff: add ID to diff 2014-07-07 14:57:41 -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 cc0c32d5ca terraform: test for single index access of counts 2014-07-06 14:09:44 -07:00
Mitchell Hashimoto a01d979c1b terraform: outputs work with multi-variables 2014-07-05 10:48:47 -07:00
Mitchell Hashimoto 4b5f5aec65 terraform: outputs are computed for the state 2014-07-04 15:36:28 -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 d4591c03cc terraform: remove unused function 2014-07-03 11:29:44 -07:00
Mitchell Hashimoto 4f5f3a5502 terraform: Context.Stop 2014-07-03 11:27:30 -07:00
Mitchell Hashimoto 603ee36d92 terraform: Context.Apply 2014-07-03 11:04:04 -07:00
Mitchell Hashimoto 403876fff3 terraform: Context.Plan 2014-07-03 10:44:30 -07:00
Mitchell Hashimoto 770d4e1e71 terraform: destroy should remove from state 2014-07-02 19:56:29 -07:00
Mitchell Hashimoto 8625e8c2ac terraform: tests for Apply in areas of errors 2014-07-02 17:26:39 -07:00
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