Commit Graph

164 Commits

Author SHA1 Message Date
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
388bcfa7b4 providers/aws: VPC assignment fix, and dependencies for destroy 2014-07-17 10:03:15 -07:00
Mitchell Hashimoto
24ecb1ae70 providers/aws/aws_vpc: fix error message referencing ELB 2014-07-17 09:46:31 -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
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
Jack Pearkes
1e81b13943 providers/aws: elb updates 2014-07-16 17:02:54 -04: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
Armon Dadgar
b84814539f Refactor shared SSH setup code 2014-07-16 10:33:44 -07:00
Armon Dadgar
2c3e619960 Removing unused constants 2014-07-16 10:33:44 -07:00
Armon Dadgar
8691a3ce91 Refactor helper methods out of provisioner 2014-07-16 10:33:44 -07:00
Armon Dadgar
a9cad200d8 provisioner/file: Skeleton files 2014-07-16 10:33:44 -07:00
Mitchell Hashimoto
082790c4c1 providers/aws: basic user data, doesn't fully work yet because diffs are broke 2014-07-16 09:01:56 -07:00
Jack Pearkes
eafbc8d8c6 providers/aws: improve security group acc tests 2014-07-16 11:14:23 -04:00
Jack Pearkes
0252b5e3e5 providers/aws: fix tests for aws_security_group 2014-07-16 10:50:52 -04:00
Jack Pearkes
dff47bdbbe providers/aws: fix eip test 2014-07-16 10:40:48 -04:00
Mitchell Hashimoto
3d91632e5b Merge pull request #21 from hashicorp/f-ssh
Adding "remote-exec" provisioner
2014-07-15 22:02:33 -07:00
Jack Pearkes
a55ee34aba providers/aws: autoscaling updates, fix create for new goamz api 2014-07-15 17:20:54 -04:00
Jack Pearkes
0d4fdfc6fd providers/aws: no update for launch configuration 2014-07-15 16:00:12 -04:00
Armon Dadgar
104b28e19e terraform: Remove ResourceConnectionInfo, use raw map 2014-07-15 12:34:07 -07:00
Armon Dadgar
de8ee65b2b provisioner/remote-exec: Retry SSH connections 2014-07-15 12:34:07 -07:00
Armon Dadgar
9cd69a2b29 aws: Expose host in the ConnInfo 2014-07-15 12:34:07 -07:00
Armon Dadgar
2b6d7dc0b9 provisioner/remote-exec: Adding retry logic 2014-07-15 12:34:07 -07:00
Armon Dadgar
389d9ba2fc provisioner/remote-exec: First pass at copy+exec 2014-07-15 12:34:07 -07:00
Armon Dadgar
f215d31df4 provisioner/remote-exec: Collect scripts to upload 2014-07-15 12:34:07 -07:00
Armon Dadgar
cd3170b906 provisioner/remote-exec: Working on SSH configuration 2014-07-15 12:34:07 -07:00
Armon Dadgar
5023b896ab provisioner/remote-exec: Enforce XOR of command and inline 2014-07-15 12:34:07 -07:00
Armon Dadgar
6381fbd226 provisioner/remote-exec: Adding initial skeleton 2014-07-15 12:34:06 -07:00
Jack Pearkes
1d6dc475df providers/aws: fix security group validations 2014-07-15 14:19:24 -04:00
Jack Pearkes
ff0741a12e providers/aws: security group validations 2014-07-15 12:40:20 -04:00
Jack Pearkes
278dd49a4d providers/aws: launch configuration validation 2014-07-15 12:36:29 -04:00
Jack Pearkes
86e935bfd5 providers/aws: autoscaling group config validation 2014-07-15 12:31:49 -04:00
Jack Pearkes
a87f2a7987 providers/aws: elb, eip config validations 2014-07-15 12:18:36 -04:00
Jack Pearkes
3c3e584beb providers/aws: ELB capitilization 2014-07-15 11:13:18 -04:00
Jack Pearkes
95323b537d providers/aws: fix elb tests 2014-07-15 08:49:40 -04:00
Mitchell Hashimoto
16c99e78b3 providers/aws: security_groups support 2014-07-14 21:56:37 -07:00
Mitchell Hashimoto
72b7e2c11a providers/aws/aws_instance: key_name 2014-07-14 17:52:29 -07:00
Mitchell Hashimoto
735c909264 providers/aws/aws_instance: test modifying source_dest_check 2014-07-14 17:38:56 -07:00
Jack Pearkes
0a6b7a9301 providers/aws: more elb test fixes 2014-07-14 18:57:04 -04:00
Jack Pearkes
d8f5914ecb providers/aws: elb tests 2014-07-14 18:48:22 -04:00
Jack Pearkes
e71bc9d5a5 Merge branch 'acc-temp' 2014-07-14 18:31:10 -04:00
Jack Pearkes
1bcdba6f84 providers/aws: tests for eip 2014-07-14 18:30:31 -04:00
Jack Pearkes
b386717381 providers/aws: basic eip structure 2014-07-14 17:59:08 -04:00
Mitchell Hashimoto
2fa6ca1c4e providers/aws/aws_instance: source_dest_check support 2014-07-14 14:16:59 -07:00