Commit Graph

227 Commits

Author SHA1 Message Date
Jack Pearkes d47e3f76ea providers/aws: fix spelling of desired_capacity
see #78
2014-07-29 10:43:18 -04:00
Jack Pearkes 4f2026f6c6 providers/aws: only flatten cidr if they exist
fixes #87
2014-07-29 10:29:48 -04:00
Jack Pearkes 86c7aeb8a6 providers/aws: use merged reosource state for associate_public_ip
cc/ @vertis
2014-07-29 10:23:48 -04:00
Jack Pearkes fa13a12a6e Merge pull request #85 from vertis/aws_associate_public_ip_address
Add associate_public_ip_address as an attribute on the aws_instance resource
2014-07-29 10:15:32 -04:00
Jack Pearkes da4ddef136 providers/aws: fix assertion of non-required cidr blocks in sec groups
fixes #65, #86
2014-07-29 10:05:32 -04:00
Luke Chadwick 974074fee9 Add associate_public_ip_address as an attribute of the aws_instance resource 2014-07-29 22:06:53 +10:00
Armon Dadgar be1ae66d86 provider/aws: fixing tests 2014-07-28 13:27:55 -04:00
Armon Dadgar 8c69536b3b provider/aws: fixing security groups test 2014-07-28 13:14:24 -04:00
Jack Pearkes f6fa012e82 providers/aws: remove security_group_update 2014-07-28 13:13:29 -04:00
Armon Dadgar c2677b3c0a provider/aws: More strict check 2014-07-28 12:50:19 -04:00
Armon Dadgar c8d5ea4d9d provider/aws: fixing instance for EC2-VPC /cc:@pearkes 2014-07-28 12:47:40 -04:00
Armon Dadgar bc64366a92 provider/aws: Less aggressive API rate 2014-07-28 12:10:35 -04:00
Armon Dadgar ebd50ab6ff provider/aws: Fixing EIP in EC2-VPC 2014-07-28 12:05:00 -04:00
Armon Dadgar c3b0417678 provider/aws: Fixing tests 2014-07-28 11:27:58 -04:00
Armon Dadgar e596feb42b provider/aws: Fixing launch config depdency 2014-07-28 11:27:58 -04:00
Jack Pearkes 7ef47671b0 providers/aws: only security group and instances if we have them 2014-07-27 21:20:03 -04:00
Armon Dadgar 18333f149e provider/aws: route53 zone detects deletion 2014-07-26 21:24:20 -04:00
Mitchell Hashimoto b1fc87fe59 providers/aws/aws_eip: support update (reassociation)
/cc @pearkes - woot
2014-07-26 15:53:26 -07:00
Jack Pearkes 298483131b providers/aws: fixed tons of aws stuff 2014-07-24 18:50:33 -04:00
Armon Dadgar ca43c44a85 providers/aws: Re-order entries 2014-07-23 23:35:03 -04:00
Armon Dadgar 5065aff158 provider/aws: Improve validation of configs 2014-07-23 15:14:35 -04:00
Jack Pearkes 703d115638 providers/aws: remove logging 2014-07-23 09:16:23 -04:00
Jack Pearkes 27fe1e0226 rds: fix engine version 2014-07-22 23:13:58 -04:00
Armon Dadgar b6503a7810 provider/aws: Adding route53 records support 2014-07-22 23:08:41 -04:00
Jack Pearkes b924151914 rds: add attribute checks 2014-07-22 22:54:18 -04:00
Jack Pearkes 4da83b9eca providers/aws: db sec group 2014-07-22 22:23:09 -04:00
Jack Pearkes dde83f7cdd providers/aws: slow down the wait for state for dbinstance 2014-07-22 18:45:59 -04:00
Armon Dadgar 12d54bd949 provider/aws: Slow down our r53 waits 2014-07-22 18:44:59 -04:00
Armon Dadgar 8e7e65770d provider/aws: Support for Route53 zones 2014-07-22 17:55:19 -04:00
Jack Pearkes 2f26ac97c2 providers/aws: add rds 2014-07-22 16:26:58 -04:00
Armon Dadgar 64f7a1dc89 provider/aws: Adding support for aws_s3_bucket 2014-07-21 14:34:50 -04: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 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
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 9cd69a2b29 aws: Expose host in the ConnInfo 2014-07-15 12:34:07 -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
Mitchell Hashimoto 88dd1baafe providers/aws/aws_instance: can bring up in VPC 2014-07-14 13:46:32 -07:00
Mitchell Hashimoto 7a1c40855e providers/aws/aws_instance: add availability_zone to state 2014-07-14 13:30:01 -07:00
Mitchell Hashimoto 9f96fb4aac providers/aws: basic aws_instance test 2014-07-14 13:28:00 -07:00
Jack Pearkes ac0168df68 providers/aws: add tests for autoscaling launch configuration 2014-07-14 14:10:13 -04:00
Jack Pearkes 9ae89cf3c5 providers/aws: correct destroy func for autoscaling group test 2014-07-14 11:44:15 -04:00
Jack Pearkes e9dade6967 providers/aws: autoscaling check attr 2014-07-14 11:41:49 -04:00
Jack Pearkes b9dfe9dc38 providers/aws: autoscaling tests 2014-07-14 11:36:25 -04:00
Mitchell Hashimoto bd2fe4d145 providers/aws: return proper internet gateway when attach fails 2014-07-13 11:16:59 -07:00
Mitchell Hashimoto f085ae65fa providers/aws: fix issue where default route was being added 2014-07-12 17:12:41 -07:00
Mitchell Hashimoto e0bc61d414 providers/aws: route table association tests 2014-07-11 13:10:09 -07:00
Mitchell Hashimoto 450cbba11a providers/aws: route table should delete any associations 2014-07-11 12:57:23 -07:00
Mitchell Hashimoto 6a3fa2f4db providers/aws: aws_route_table_association 2014-07-10 17:17:01 -07:00
Mitchell Hashimoto 9afebeb07e providers/aws: route table tests 2014-07-10 15:52:56 -07:00
Mitchell Hashimoto 265cc4fffa providers/aws: extend InternetGateway timeout to be safe 2014-07-10 15:35:41 -07:00
Mitchell Hashimoto 71b30c633f providers/aws: internetgateway timing tweaks
So I think the AWS API is just broken here. In the case that the state
doesn't update, just assume it did after 5 seconds.
2014-07-10 15:33:50 -07:00
Mitchell Hashimoto af776da7a2 providers/aws: subnet tests 2014-07-10 15:10:05 -07:00
Mitchell Hashimoto 86c4678bee providers/aws: test internet gateway changing the VPC addr 2014-07-10 14:51:23 -07:00
Mitchell Hashimoto 17b0280724 providers/aws: InternetGateway has to define the update function 2014-07-10 14:24:36 -07:00
Mitchell Hashimoto 2d34f8f209 providers/aws: internet gateway acceptance test 2014-07-10 14:11:45 -07:00
Mitchell Hashimoto 63ef4cf28a helper/resource: stdlib to check resource attribute 2014-07-10 14:00:20 -07:00
Mitchell Hashimoto 3ff66b430f providers/aws: check VPC cidr 2014-07-10 13:49:28 -07:00
Jack Pearkes e992d62717 providers/aws: use precheck for security group 2014-07-10 16:43:03 -04:00
Jack Pearkes 2e767da3df providers/aws: security group acceptance tests 2014-07-10 16:40:14 -04:00
Mitchell Hashimoto ac0e29e98e terraform: races in MockResourceProvider 2014-07-10 13:38:04 -07:00
Mitchell Hashimoto 83f73e63aa helper/resource: add PreCheck 2014-07-10 13:12:47 -07:00
Jack Pearkes 45d318f573 providers/aws: destroy for autoscaling and launch conf 2014-07-10 15:41:06 -04:00
Mitchell Hashimoto 4a5fb8c0b9 Merge pull request #17 from hashicorp/f-acceptance
Acceptance Test Framework
2014-07-10 11:52:11 -07:00
Mitchell Hashimoto b3fd62beb0 providers/aws: basic VPC test 2014-07-10 11:31:16 -07:00
Jack Pearkes 305994036d providers/aws: add createlaunchocnfiguration 2014-07-10 14:15:58 -04:00
Mitchell Hashimoto a98bcf5b06 providers/aws: create routes 2014-07-09 18:41:00 -07:00
Mitchell Hashimoto e8494826e9 providers/aws: don't merge diff early 2014-07-09 18:13:11 -07:00
Mitchell Hashimoto 05fabb02bd providers/aws: fix up the route table errors 2014-07-09 17:37:56 -07:00