Commit Graph

25748 Commits

Author SHA1 Message Date
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
Mitchell Hashimoto 7fa9bedefd providers/aws: adhere to interface 2014-06-20 11:52:21 -07:00
Mitchell Hashimoto 5dbb9c821a rpc: add Refresh method 2014-06-20 11:51:07 -07:00
Mitchell Hashimoto bff4b8a58c command: plan 2014-06-20 11:47:02 -07:00
Mitchell Hashimoto d1cfb38bb8 config: ReplaceVariables is public 2014-06-20 11:41:12 -07:00
Mitchell Hashimoto 686b563428 terraform: build a plan 2014-06-20 11:03:33 -07:00
Mitchell Hashimoto f7a6cbf247 terraform: rename Diff to Plan on Terraform API 2014-06-20 10:44:49 -07:00
Mitchell Hashimoto d2001275dc terraform: initial Plan structure
This is REALLY heavy and would be really hard to maintain any sort
of compatibility with, but it is what we're going to do during dev
initially (if we don't ship with it) in order to just get stuff working.
2014-06-20 10:33:26 -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 74d75e87d6 command/diff: output if no changes 2014-06-19 14:58:30 -07:00
Mitchell Hashimoto 1449d8a510 terraform: Diff.Empty 2014-06-19 14:57:36 -07:00
Mitchell Hashimoto 23c8350ba4 Add the state to the gitignore 2014-06-19 14:09:03 -07:00
Mitchell Hashimoto 6618f39797 providers/aws: diff properly 2014-06-19 14:08:48 -07:00