Commit Graph

1115 Commits

Author SHA1 Message Date
Mitchell Hashimoto 3834846418 config: Outputs is now a slice 2014-07-18 22:21:52 -07:00
Mitchell Hashimoto a19e2983de terraform: tests passing for Config change 2014-07-18 22:13:15 -07:00
Mitchell Hashimoto e4bcd3c448 config: Variables is now a slice 2014-07-18 17:48:30 -07:00
Jack Pearkes 5c6ef7ff06 Merge pull request #24 from hashicorp/f-do-provider
DigitalOcean Provider
2014-07-18 20:41:38 -04:00
Jack Pearkes 5dcd453db8 providers/digitalocean: alphabetize all the things 2014-07-18 20:41:02 -04:00
Jack Pearkes 98fd49fccd graph: remove typo 2014-07-18 20:24:50 -04:00
Mitchell Hashimoto a583b800a4 config: add unknownKeys to Merge 2014-07-18 17:20:56 -07:00
Jack Pearkes 4455a6120c providers/digitalocean: initial commit 2014-07-18 20:20:28 -04:00
Mitchell Hashimoto 3d67c967aa config: make Merge an exported func 2014-07-18 17:05:22 -07:00
Mitchell Hashimoto 9cd1018f0b config: config files can be in JSON, as well 2014-07-18 16:54:52 -07:00
Mitchell Hashimoto 596e0f7f13 config: make dupped nil for GC reasons 2014-07-18 16:31:32 -07:00
Mitchell Hashimoto 50095612a2 config: resource should be unique 2014-07-18 16:31:01 -07:00
Mitchell Hashimoto 2864605b04 Update TODO 2014-07-18 16:01:06 -07:00
Mitchell Hashimoto 5329124cf9 config: unknown keys give errors 2014-07-18 16:00:21 -07:00
Mitchell Hashimoto ea4d975dac Update TODO 2014-07-18 14:02:53 -07:00
Mitchell Hashimoto 7b4119027a command: -var-file works 2014-07-18 14:00:40 -07:00
Mitchell Hashimoto d87d29b143 Update TODO 2014-07-18 11:41:08 -07:00
Mitchell Hashimoto 3534470ca3 command: -var flag works 2014-07-18 11:37:27 -07:00
Mitchell Hashimoto 272632ced0 Update TODO 2014-07-18 10:23:21 -07:00
Mitchell Hashimoto 3276ae313f terraform: PostApply should get error result from Apply 2014-07-17 15:38:50 -07:00
Mitchell Hashimoto ff36378c4e terraform: partial state should be saved on apply error 2014-07-17 15:32:19 -07:00
Mitchell Hashimoto f78f97647a command/apply: clearer that in error state is updated 2014-07-17 15:18:00 -07:00
Mitchell Hashimoto ba4435f99c command/apply: show add/remove/change count for apply 2014-07-17 15:14:45 -07:00
Jack Pearkes 3077800252 todo: add some aws provider todos 2014-07-17 17:25:31 -04:00
Mitchell Hashimoto 03911d28f8 Update TODO
I realize not all of this is completeable before 0.1, but I wanted to
get a list of "necessary super short term" things that we need to do.
2014-07-17 14:08:45 -07:00
Mitchell Hashimoto 6767a3e756 Provisioners are in! 2014-07-17 14:04:25 -07:00
Mitchell Hashimoto 916ca711ad providers/aws/aws_security_group: we need to check for one other error 2014-07-17 11:28:40 -07:00
Mitchell Hashimoto 99ac8fc68e providers/aws/aws_security_group: wait for it to exist 2014-07-17 11:14:51 -07:00
Mitchell Hashimoto d7ecc76148 helper/resource: refactor wait a bit and introduce delay/mintimeout 2014-07-17 11:03:30 -07:00
Mitchell Hashimoto 388bcfa7b4 providers/aws: VPC assignment fix, and dependencies for destroy 2014-07-17 10:03:15 -07:00
Mitchell Hashimoto c3229aaef1 Always enable color on Windows since tty check doesn't work well 2014-07-17 09:50:58 -07:00
Mitchell Hashimoto 24ecb1ae70 providers/aws/aws_vpc: fix error message referencing ELB 2014-07-17 09:46:31 -07:00
Mitchell Hashimoto 8dc842aa8e Don't color output if stdout is not a tty 2014-07-17 09:37:36 -07:00
Mitchell Hashimoto 541d23eea0 command: can set Color to false explicitly 2014-07-17 09:34:32 -07:00
Mitchell Hashimoto d956880e2f providers/aws/aws_route_table: can set routes on instance_id 2014-07-17 09:21:55 -07:00
Mitchell Hashimoto 79dbd07679 providers/aws: no empty security groups when flattening ip perms
/cc @pearkes - A few things here:

First, this fixes the issue you mentioned to be in chat. Basically: if
there are no security groups, don't put it into flatten, because flatten
will include a "key.#" = "0".

Next, I transformed your test into a "table-driven" test which are really
nice to write and maintain. Basically, as you find bugs or edge cases, you can
just add to the table and you get the test for free. I recommend these
whereever you have a pure input to output sort of data transformation
function.
2014-07-16 18:32:36 -07:00
Jack Pearkes bcc6f884b1 providers/aws: actually return ingress rule on refresh, tests 2014-07-16 20:14:01 -04:00
Mitchell Hashimoto a6bb0144a6 providers/aws: remove some debug 2014-07-16 16:46:28 -07:00
Mitchell Hashimoto 0d8f6645fa providers/aws/aws_instance: user_data diffs properly 2014-07-16 16:41:20 -07:00
Mitchell Hashimoto c89e02c545 helper/diff: fix problems with PreProcess 2014-07-16 16:41:19 -07:00
Mitchell Hashimoto 2cfad3fa71 helper/diff: can specify PreProcess functions 2014-07-16 16:41:18 -07:00
Jack Pearkes 901785d04a providers/aws: expand wildcard string lists 2014-07-16 18:51:50 -04:00
Mitchell Hashimoto 9ec1990608 providers/aws/aws_instance: fix security group and key name issues in count 2014-07-16 15:21:01 -07:00
Mitchell Hashimoto e8eae17cc9 helper/config: clean up validation to work with nested items
/cc @pearkes
2014-07-16 15:08:35 -07:00
Jack Pearkes 039d9635b4 website: remove of a bunch of consul images 2014-07-16 17:57:25 -04:00
Jack Pearkes 7b72a9defb website: initial commit 2014-07-16 17:51:48 -04:00
Jack Pearkes 1e81b13943 providers/aws: elb updates 2014-07-16 17:02:54 -04:00
Mitchell Hashimoto 6053a155c5 Merge pull request #22 from hashicorp/f-file
Adding 'file' provisioner
2014-07-16 13:24:43 -07:00
Armon Dadgar 427b445ba8 provisioner/file: Adding validation tests 2014-07-16 11:41:56 -07:00
Armon Dadgar 272ffcbe44 provisioner/file: Initial pass at file provisioner 2014-07-16 10:33:45 -07:00