Commit Graph

25060 Commits

Author SHA1 Message Date
Mitchell Hashimoto 4147500fcc terraform: diff is not empty if it has to destroy 2014-06-25 22:10:25 -07:00
Mitchell Hashimoto 1d9d33c8a0 terraform: destroy orphans 2014-06-25 21:58:33 -07:00
Mitchell Hashimoto e8035a5c96 providers/aws: properly create an i nstance after destroy 2014-06-25 18:49:30 -07:00
Mitchell Hashimoto b6a02e473d helper/resource: destroy on requiresNew 2014-06-25 18:41:40 -07:00
Mitchell Hashimoto 5384f63b3d terraform: set type on apply 2014-06-25 18:33:32 -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 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 94a11583c2 depgraph: add Noun function to get a noun 2014-06-25 11:28:00 -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 46d3800a39 config: remove some unused test fixtures 2014-06-24 15:02:02 -07:00
Mitchell Hashimoto 1918f199d8 terraform: Graph, config: don't build graph 2014-06-24 14:58:57 -07:00
Mitchell Hashimoto 4c71eb35d8 Makefile can have specific test args 2014-06-24 14:16:26 -07:00
Mitchell Hashimoto 9acb9535ad config: ProviderConfigName shouldn't be on Resource 2014-06-24 13:29:07 -07:00
Mitchell Hashimoto 9d8c2790fa terraform: remove unused var 2014-06-24 13:08:56 -07:00
Mitchell Hashimoto e392c349ef helper/resource: clearer destroy logic 2014-06-24 12:59:50 -07:00
Mitchell Hashimoto cb591ab2df helper/resource: Destroy is called if destroy is set on diff 2014-06-24 12:55:59 -07:00
Mitchell Hashimoto 9c024994b7 terraform: diff has Destroy flag 2014-06-24 12:54:05 -07:00
Mitchell Hashimoto d54034d0b5 helper/diff: comment 2014-06-24 10:33:03 -07:00
Mitchell Hashimoto bd0f23ce25 Move diff to helper/diff, helper/resource knows about it 2014-06-24 10:27:39 -07:00
Mitchell Hashimoto 938b4da8a5 providers/aws: comments 2014-06-24 10:23:09 -07:00
Mitchell Hashimoto ae142efff7 providers/aws: know how to destroy things 2014-06-24 10:22:22 -07:00
Mitchell Hashimoto 4084ed9234 terraform: no longer store the graph on Terraform itself 2014-06-24 10:16:48 -07:00
Mitchell Hashimoto 1df3297601 providers/aws: if terminated, no longer exists 2014-06-24 10:15:08 -07:00
Mitchell Hashimoto 1d724f3481 terraform :comments 2014-06-23 20:52:44 -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 391e9fd250 providers/aws: implement Refresh for aws_instance 2014-06-23 19:56:22 -07:00
Mitchell Hashimoto e91d8643dc providers/aws: create things 2014-06-23 19:50:19 -07:00
Mitchell Hashimoto 543e70aab1 helper/resource: nice helper for resourceprovider impl 2014-06-23 19:32:49 -07:00
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