Commit Graph

19061 Commits

Author SHA1 Message Date
Mitchell Hashimoto 69841c22e6 config: RawConfig.Config returns raw if no interpolate 2014-06-12 17:47:05 -07:00
Mitchell Hashimoto 8c50aa6382 config: use the RawConfig whereever posible 2014-06-12 17:40:59 -07:00
Mitchell Hashimoto 6420e4bd81 config: reorder 2014-06-12 17:27:53 -07:00
Mitchell Hashimoto bbca28a0ef config: test double interpolating 2014-06-12 17:26:05 -07:00
Mitchell Hashimoto e445f8db38 config: RawConfig works, plus tests 2014-06-12 17:24:55 -07:00
Mitchell Hashimoto a24b30b8d2 config: remove redundant variables 2014-06-12 17:03:15 -07:00
Mitchell Hashimoto 0ad9d9ddc7 config: keep track of unknown keys during interpolate 2014-06-12 17:00:50 -07:00
Mitchell Hashimoto 1af5aee146 config: remove unknown variable elements from the config 2014-06-12 16:40:53 -07:00
Mitchell Hashimoto e502bf6ba9 config: comply to reflectwalk interface 2014-06-12 16:24:08 -07:00
Mitchell Hashimoto 997724dc57 terraform: know whether create or update resource 2014-06-10 11:37:04 -07:00
Mitchell Hashimoto fa6a87e819 providers/aws: some mock data 2014-06-10 11:34:14 -07:00
Mitchell Hashimoto c81e3f4db7 command/diff: show diff string output 2014-06-10 11:34:08 -07:00
Mitchell Hashimoto 469d20afe3 terraform: note which attributes require a new resource 2014-06-10 11:33:59 -07:00
Mitchell Hashimoto fac68b0c09 terraform: match key lengths up in a diff 2014-06-10 11:30:54 -07:00
Mitchell Hashimoto 36a99b5920 terraform: alphabetize attributes in diff 2014-06-10 11:27:17 -07:00
Mitchell Hashimoto 32afc6dc70 terraform: Diff.String 2014-06-10 11:22:32 -07:00
Mitchell Hashimoto 061d96a08b terraform: test case for if diff returns nil 2014-06-10 10:50:23 -07:00
Mitchell Hashimoto 743c3684c5 comments 2014-06-10 10:32:59 -07:00
Mitchell Hashimoto f9e830705d Prefixed IO to make sure stdout/stderr match up 2014-06-10 10:28:47 -07:00
Mitchell Hashimoto 582229969e main: instantiate the config and set it up 2014-06-09 21:57:37 -07:00
Mitchell Hashimoto 61f4684931 Create resource provider factories and cleanup clients in main 2014-06-09 21:44:13 -07:00
Mitchell Hashimoto 6c6bc0ae3e commands/diff: starting up, got it loading a Terraform 2014-06-09 11:53:41 -07:00
Mitchell Hashimoto 4c865a5169 Add `make dev` to make terraform dev bins 2014-06-06 20:25:17 -07:00
Mitchell Hashimoto 54f3ff33b9 providers/aws: pass tests 2014-06-06 20:17:38 -07:00
Mitchell Hashimoto 02a3603a9a rpc: Diff implementation 2014-06-06 00:48:32 -07:00
Mitchell Hashimoto 0561edc2fd terraform: check for errors initializing a provider 2014-06-06 00:28:57 -07:00
Mitchell Hashimoto ce0867fa09 terraform: call Configure on the provider 2014-06-06 00:20:23 -07:00
Mitchell Hashimoto 967d4a61c1 terraform: tests that computed placeholders get inserted proprely 2014-06-05 20:17:03 -07:00
Mitchell Hashimoto 796dfd54e9 terraform: just hardcode a UUID in there for computed placeholders 2014-06-05 20:03:16 -07:00
Mitchell Hashimoto d58feeeafe terraform: find configs for providers 2014-06-05 19:56:35 -07:00
Mitchell Hashimoto ebbc0047ce terraform: ignore ProviderConfig during walks 2014-06-05 13:05:26 -07:00
Mitchell Hashimoto 975dc47638 depgraph: fix failling test 2014-06-05 13:00:29 -07:00
Mitchell Hashimoto 23d96248aa No need for a root name constant, just check for Meta == nil 2014-06-05 12:59:55 -07:00
Mitchell Hashimoto 9896d902ed terraform: use proper function name 2014-06-05 12:55:54 -07:00
Mitchell Hashimoto 82d527f798 config: rename ResourceGraph to Graph 2014-06-05 12:55:21 -07:00
Mitchell Hashimoto 867f6b3691 config: test to make sure that cycles are properly detected 2014-06-05 12:53:59 -07:00
Mitchell Hashimoto d2c3db552a config: providerconfigs can replace variables 2014-06-05 12:52:07 -07:00
Mitchell Hashimoto 3ccfd4d08c config: depgraph can contain provider configuratoins 2014-06-05 12:47:28 -07:00
Mitchell Hashimoto e2fa7094bd config: ProviderConfigName on Resource 2014-06-05 12:21:05 -07:00
Mitchell Hashimoto 4397c566a0 terraform: computed key 2014-06-05 12:09:25 -07:00
Mitchell Hashimoto 02fde14fb6 terraform: simplify semantic checks out into sep functions 2014-06-05 11:53:07 -07:00
Mitchell Hashimoto 9018beda81 terraform: placeholder key for computed values 2014-06-05 11:30:48 -07:00
Mitchell Hashimoto 63e1b6f6b7 terraform: no need to init state if we don't use 2014-06-05 11:12:10 -07:00
Mitchell Hashimoto e8f235f515 terraform: more efficient variable buildup 2014-06-05 11:08:27 -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 bd1f235b9b config: allow applying variables to resources 2014-06-05 06:23:41 -07:00
Mitchell Hashimoto e904fca3da terraform: Diff! 2014-06-05 02:32:10 -07:00