Commit Graph

186 Commits

Author SHA1 Message Date
Mitchell Hashimoto
997724dc57 terraform: know whether create or update resource 2014-06-10 11:37:04 -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
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
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
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
e904fca3da terraform: Diff! 2014-06-05 02:32:10 -07:00
Mitchell Hashimoto
d731d033f1 terraform: build resource graph, validate 2014-06-03 17:14:19 -07:00
Mitchell Hashimoto
9480783ee4 terraform: add Diff to ResourceProvider
rpc and plugin don't compile yet
2014-06-03 16:42:21 -07:00
Mitchell Hashimoto
8af8ecca20 terraform: todo 2014-06-03 16:12:35 -07:00
Mitchell Hashimoto
45c168bb5b terraform: multierrors 2014-06-03 16:11:02 -07:00
Mitchell Hashimoto
45a8deb388 terraform: store the configuration on the Terraform struct 2014-06-03 15:58:24 -07:00
Mitchell Hashimoto
d2088463d3 terraform: validate required variables are all set 2014-06-03 15:56:43 -07:00
Mitchell Hashimoto
c9d8413431 terraform: New happy path works decently well 2014-06-03 15:08:00 -07:00
Mitchell Hashimoto
0c1a341d90 terraform: Resources method for providers 2014-06-03 14:26:31 -07:00
Mitchell Hashimoto
f8dc3286d9 rpc: ResourceProvider over RPC 2014-05-28 15:07:47 -07:00
Mitchell Hashimoto
1b5dfa043b terraform: some files laying out an API 2014-05-28 13:56:43 -07:00
Mitchell Hashimoto
a4a4e3784d Implement CLI, version command 2014-05-24 12:04:43 -07:00