Commit Graph

290 Commits

Author SHA1 Message Date
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 0b4950976c Revert "providers/digitalocean: don't save status and locked"
This reverts commit b9414b832c.
2014-07-28 13:04:17 -04:00
Armon Dadgar bf3ac46c36 provider/digitalocean: less aggressive retry 2014-07-28 12:58:19 -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 da539caf0a provider/consul: Acceptance test uses demo.consul.io 2014-07-26 21:25:28 -04:00
Armon Dadgar 2263616c2e provider/consul: Fixing resource updates 2014-07-26 21:24:20 -04:00
Armon Dadgar 18333f149e provider/aws: route53 zone detects deletion 2014-07-26 21:24:20 -04:00
Armon Dadgar dc0de63a72 provider/consul: cleanup 2014-07-26 20:21:48 -04:00
Mitchell Hashimoto b1fc87fe59 providers/aws/aws_eip: support update (reassociation)
/cc @pearkes - woot
2014-07-26 15:53:26 -07:00
Armon Dadgar 719217d64d provider/consul: Simplify 2014-07-26 15:32:34 -04:00
Armon Dadgar e4450fcd51 provider/consul: Vast simplification 2014-07-26 15:14:41 -04:00
Armon Dadgar 9ff8856fe8 provider/consul: first pass at update 2014-07-25 22:35:50 -04:00
Armon Dadgar dd58896d07 provider/consul: first pass 2014-07-25 22:14:51 -04:00
Armon Dadgar 61841467c4 provider/consul: Skeleton 2014-07-25 17:03:17 -04:00
Jack Pearkes 9998339a04 website: add cloudflare docs 2014-07-25 12:28:11 -04:00
Jack Pearkes 85944ab205 providers/cloudflare: init 2014-07-25 12:21:23 -04:00
Jack Pearkes 307f7e4e5b providers/dnsimple: fix comment 2014-07-25 12:05:51 -04:00
Jack Pearkes 404a6ccad2 providers/heroku: serialize the addons, depend on apps 2014-07-25 00:08:38 -04:00
Jack Pearkes b9414b832c providers/digitalocean: don't save status and locked 2014-07-24 23:32:42 -04:00
Jack Pearkes 454db657be providers/dnsimple|heroku: handle ComputedAttrsUpdate 2014-07-24 23:29:58 -04:00
Jack Pearkes 228c8db134 providers/dnsimple: add hostname as computed resource 2014-07-24 19:32:59 -04:00
Jack Pearkes 298483131b providers/aws: fixed tons of aws stuff 2014-07-24 18:50:33 -04:00
Jack Pearkes 9d75352fd3 providers/digitalocean: fix 404 check 2014-07-24 17:57:23 -04:00
Mitchell Hashimoto d70b451b58 providers/digitalocean: fmt 2014-07-24 14:40:54 -07:00
Jack Pearkes bcf92e8d39 providers/digitalocean: handle destroyed droplets 2014-07-24 17:31:39 -04:00
Armon Dadgar a6e536c718 provider/digitalocean: Support ConnInfo for provisioning 2014-07-24 13:51:43 -04:00
Jack Pearkes 67bc9f51ae providers/digitalocean: records 2014-07-24 13:47:22 -04:00
Jack Pearkes d2a01f2209 proviers/digitalocean: add domains 2014-07-24 13:24:18 -04:00
Jack Pearkes ae7db9359e providers/dnsimple: finish update func, new lib 2014-07-24 11:23:10 -04:00
Jack Pearkes 2f4ea10349 dnsimple: fix for new library 2014-07-24 10:21:50 -04:00
Armon Dadgar ca43c44a85 providers/aws: Re-order entries 2014-07-23 23:35:03 -04:00
Jack Pearkes 07d9bb03ec providers/dnsimple: handle custom domains 2014-07-23 20:53:28 -04:00
Jack Pearkes d8c83a1a95 providers/dnsimple: init commit 2014-07-23 17:43:49 -04:00
Jack Pearkes c76ec75433 providers/heroku: compute cname 2014-07-23 15:55:28 -04:00
Jack Pearkes accc477984 providers/heroku: add cname to domain 2014-07-23 15:55:01 -04:00
Jack Pearkes 26d5c093da providers/heroku: add domain support 2014-07-23 15:50:28 -04:00
Jack Pearkes eb0bd46791 providers/heroku: tabs 2014-07-23 15:37:10 -04:00
Jack Pearkes 89985a3dc6 providers/heroku: addons 2014-07-23 15:33:39 -04:00
Armon Dadgar 5065aff158 provider/aws: Improve validation of configs 2014-07-23 15:14:35 -04:00
Jack Pearkes 4b1d9b5b2f providers/heroku: don't overwrite id 2014-07-23 15:10:13 -04:00
Jack Pearkes 708d91a0c5 providers/heroku: add failing test for var removal 2014-07-23 14:46:12 -04:00
Jack Pearkes 2fc73493a8 providers/heroku: store name after update 2014-07-23 14:12:53 -04:00
Jack Pearkes a30c4abbea providers/heroku: correctly store config vars in state 2014-07-23 13:57:15 -04:00
Jack Pearkes 5a178a39a0 providers/heroku: init addon, app update 2014-07-23 12:38:45 -04:00
Jack Pearkes 3a2db580d0 providers/heroku: handle case sensitivity 2014-07-23 12:11:58 -04:00
Jack Pearkes 64f2630c7e providers/heroku: refactor to handle vars 2014-07-23 12:09:54 -04:00
Jack Pearkes e523e400b8 providers/heroku: refactor update config vars 2014-07-23 11:26:31 -04:00
Jack Pearkes 298b8090f0 providers/heroku: support config vars on create 2014-07-23 11:09:05 -04:00
Jack Pearkes 703d115638 providers/aws: remove logging 2014-07-23 09:16:23 -04:00
Jack Pearkes e81b3998ce heroku: initial commit 2014-07-23 00:03:30 -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
Mitchell Hashimoto 8720d2465e builtin/provisioners/*: new API 2014-07-22 10:38:39 -07:00
Armon Dadgar 64f7a1dc89 provider/aws: Adding support for aws_s3_bucket 2014-07-21 14:34:50 -04:00
Jack Pearkes ed8980714c providers/digitalocean: handle locked droplets and retry 2014-07-21 11:05:24 -04:00
Jack Pearkes 7be85deb92 providers/digitalocean: updates 2014-07-19 12:33:25 -04:00
Jack Pearkes 0965332b88 providers/digitalocean: WaitForAttribute 2014-07-19 09:45:42 -04:00
Jack Pearkes 5dcd453db8 providers/digitalocean: alphabetize all the things 2014-07-18 20:41:02 -04:00
Jack Pearkes 4455a6120c providers/digitalocean: initial commit 2014-07-18 20:20:28 -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
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