Commit Graph

1547 Commits

Author SHA1 Message Date
Mitchell Hashimoto 89041c0595 providers/aws: resource_aws_security_group using helper/schema 2014-08-20 10:40:18 -07:00
Ian Atha 13b0e7ee2c Allow 'load_balancers.*' to pass resource_aws_autoscaling_group_validation 2014-08-19 19:53:12 -07:00
Mitchell Hashimoto d25747ba5c providers/aws: cleaner detection of VPC [GH-122] 2014-08-19 17:22:25 -07:00
Mitchell Hashimoto c4d261ac61 providers/aws: resource_aws_eip is in new framework 2014-08-19 16:56:23 -07:00
Mitchell Hashimoto 776bb22e4e providers/aws: create an empty schema.Provider 2014-08-19 15:40:48 -07:00
Mitchell Hashimoto 25607686c1 provider/heroku: fix bin 2014-08-19 10:19:19 -07:00
Mitchell Hashimoto 9a0c0ea985 providers/heroku: domain/drain have dep on app 2014-08-19 10:16:47 -07:00
Mitchell Hashimoto 2a6b83591a providers/heroku: nuking config vars works 2014-08-19 10:13:34 -07:00
Jack Pearkes d99e475ea2 Merge pull request #170 from alekstorm/aws-security-group-owner
Implement specification of AWS security groups in ingress rules as <owner>/<id>
2014-08-19 09:42:05 -07:00
Mitchell Hashimoto 839f9d84c8 Merge pull request #201 from hashicorp/f-resource
High-Level Framework for Writing Providers and Resources
2014-08-19 09:40:59 -07:00
Jack Pearkes 4cdb95a6b2 Merge pull request #166 from alekstorm/aws-elb-subnets-security-groups
Add 'security_groups' and 'subnets' args to 'aws_elb'
2014-08-19 09:40:30 -07:00
Mitchell Hashimoto e6dff7bf04 provider/heroku: update bin to use the new provider 2014-08-19 09:38:58 -07:00
Mitchell Hashimoto e2b8951a58 remove heroku2 since we're done here 2014-08-19 09:19:51 -07:00
Mitchell Hashimoto 43405c270b providers/heroku: heroku_drain 2014-08-19 09:18:45 -07:00
Mitchell Hashimoto 27ee254447 providers/heroku: heroku_domain resource 2014-08-19 09:14:14 -07:00
Mitchell Hashimoto 5fc308d934 providers/heroku: addon 2014-08-18 15:49:54 -07:00
Mitchell Hashimoto 4e1d8869fe providers/heroku: use new schema API 2014-08-18 15:18:51 -07:00
Mitchell Hashimoto 199b72d798 providers/heroku: clean up unused functions 2014-08-18 09:36:37 -07:00
Mitchell Hashimoto 513596cc37 providers/heroku: Heroku app is mostly converted 2014-08-18 09:32:40 -07:00
Mitchell Hashimoto b3f4a9eb10 providers/heroku2: going to convert this to new schema package 2014-08-17 20:58:41 -07:00
Mitchell Hashimoto ca5be43519 providers/aws: fix RDB test syntax error 2014-08-11 09:58:53 -07:00
Jason Padvorac 8d97c3656c Add listener.ssl_certificate_id support to AWS ELB 2014-08-10 17:16:53 -07:00
deoxxa 4405a8d974 add vpc dns attribute support 2014-08-09 22:43:00 +10:00
Alek Storm 7109b8c770 Implement specification of AWS security groups in ingress rules as <owner>/<id> 2014-08-08 11:51:18 -07:00
Alek Storm 5a84296c61 Add 'security_groups' and 'subnets' args to 'aws_elb' 2014-08-07 17:41:15 -07:00
Alex Gaynor 46154ca1d3 Fixed a ton of typos in docs and comments 2014-08-07 00:19:56 -07:00
Hector Castro f869a077a2 Fix output of aws_db_instance port via endpoint
When trying to output the `endpoint` attribute of an `aws_db_instance`,
the port was not being emitted properly. Converting the port number from
an integer to a string has resolved the issue.
2014-08-01 17:13:26 -04:00
Jack Pearkes 61122beec4 providers/digitalocean: fix comment 2014-08-01 11:05:32 -04:00
Jack Pearkes d9bfe1c2fe providers/digitalocean: only save private ip address if private 2014-08-01 10:12:29 -04:00
Jack Pearkes 2fe6f2e2b1 providers/digitalocean: restart droplet in failed resize 2014-08-01 10:10:52 -04:00
Jack Pearkes c6741cf1b5 providers/aws: add tests for instance availability zone
cc/ @dcosson here we go!
2014-07-31 20:35:31 -04:00
Jack Pearkes aa94e0c41a Merge pull request #129 from dcosson/aws_availability_zone
Allow specifying the AWS availability zone on creation
2014-07-31 15:28:34 -04:00
Jack Pearkes e07dc8891d providers/aws: db instance wait for destroy, allow destroy config 2014-07-31 15:22:14 -04:00
Danny Cosson e838624468 Allow specifying the AWS availability zone on creation 2014-07-31 13:52:03 -04:00
Jack Pearkes 887ee10f77 providers/cloudflare: add bins
close #126
2014-07-31 09:52:48 -04:00
Jack Pearkes 0ca0b8dd62 providers/aws: remove password from resource diff to not trigger changes
cc/ @mitchellh

This one caught me a bit, and I'm not sure if there's another AttrType
that could be useful here – perhaps a AttrTypeHidden or something? I
don't know...this feels sloppy to have in the diff func.
2014-07-31 09:39:19 -04:00
Jack Pearkes 9a2685cf13 providers/aws: db instances now depend on db security groups 2014-07-31 09:28:25 -04:00
Jack Pearkes bc79f15db3 providers/aws: require description in security groups. fixes #123 2014-07-30 17:15:51 -04:00
Jack Pearkes 60ed50b4b6 providers/aws: allow "modifying" as pending state for db instances
fixes #119
2014-07-30 11:58:11 -04:00
John Wards 7493ee31cb Stop passing engine into EngineVersion
Fixes #95
2014-07-30 16:44:02 +01:00
Jack Pearkes 7adc6162d8 providers/aws: add test for health check, save health check state
cc/ @vertis

I added an acceptance test here, as well as making it so we
saved the health check state on update_state.
2014-07-30 10:15:22 -04:00
Luke Chadwick 0eed0908df Add health_check to aws_elb resource 2014-07-30 21:46:51 +10:00
Jack Pearkes 14b80abc29 providers/heroku: fix drain test
cc/ @bmarini

Basically, the attr check we have in our tests is looking at resources
that we specify. It's basically check that "if I send this, I get this"
from the external resource.

In this case, we don't know what the token will be, so we can't
do it that way. I replaced it with a "make sure this is more than an
empty string" assertion.
2014-07-29 19:16:01 -04:00
Jack Pearkes d3e8454ceb Merge pull request #97 from bmarini/add-heroku-drain-resource
Add heroku drain resource
2014-07-29 19:15:17 -04:00
Jack Pearkes af62002c1b go fmt 2014-07-29 19:09:55 -04:00
Jack Pearkes 77697b9936 providers/aws: add failing test for aws region validation
cc/ @jorgeng87
2014-07-29 19:09:17 -04:00
Jack Pearkes 872acb3740 providers/digitalocean: fix ip address when using private networking
This adds a new `ipv4_address_private` and `ipv4_address_public`
computed attr. Also pulls in upstream changes from pearkes/digitalocean
2014-07-29 19:04:10 -04:00
Ben Marini 6dd629a334 Add heroku drain resource 2014-07-29 15:45:12 -07:00
Jorge Núñez aad0fec940 Update test with valid AWS region 2014-07-30 00:22:50 +02:00
Jorge Núñez 5900b3f1c0 Add AWS region validation 2014-07-30 00:22:37 +02:00
Luke Chadwick 15bdf8b5f9 Add user_data to aws_launch_configuration 2014-07-30 07:30:24 +10:00
Jack Pearkes cbcb559c0c providers/aws: add failing test for reorder ingress rules bug 2014-07-29 15:03:51 -04:00
Jack Pearkes 6653542466 providers/aws: fix order of ingress rules on security group 2014-07-29 12:45:57 -04:00
Jack Pearkes dbe6b74884 providers/aws: depend on security groups, failing test for #87 2014-07-29 12:15:42 -04:00
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 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
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
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
Mitchell Hashimoto 01b58669b0 provisioners/local-exec: tests pass on Windows due to line-endings diff
/cc @armon
2014-07-10 13:09:09 -07:00
Mitchell Hashimoto d9dda40957 Merge pull request #16 from hashicorp/f-provisioners
Adding support for provisioners
2014-07-10 13:03:51 -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
Armon Dadgar 7721caf867 provisioner/local-exec: Adding tests for Apply and Validate 2014-07-10 11:38:57 -07:00
Armon Dadgar 6ace8e12e5 provisioner/local-exec: Use interpolated values 2014-07-10 11:38:57 -07:00
Armon Dadgar 9c49642b37 provisioner/local-exec: First pass 2014-07-10 11:38:56 -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
Mitchell Hashimoto 9c93cfbf75 providers/aws: route tables maybe can make routes 2014-07-09 17:17:24 -07:00
Jack Pearkes 930e3260ad providers/aws: handle empty list configs, weird lb special case 2014-07-09 19:30:39 -04:00
Jack Pearkes 62a311a341 providers/aws: add autoscalinggroup 2014-07-09 19:00:30 -04:00
Mitchell Hashimoto d111a4c05d providers/aws: fix syntax error 2014-07-09 09:51:52 -07:00
Mitchell Hashimoto fdfed5000f providers/aws: route table prepare for routes 2014-07-09 09:47:13 -07:00
Mitchell Hashimoto cf3f26a1de providers/aws: fix SG typo 2014-07-09 09:18:17 -07:00
Mitchell Hashimoto a46cafc975 providers/aws: internet gateway is more robust 2014-07-09 09:16:47 -07:00
Jack Pearkes 5ad8d418f2 providers/aws: sg flattening of refresh 2014-07-08 20:25:52 -04:00
Mitchell Hashimoto 251790f05a terraform: add ID to diff implicitly 2014-07-08 16:58:31 -07:00
Mitchell Hashimoto 2fd5b36550 providers/aws: validation of route table 2014-07-08 16:17:30 -07:00
Mitchell Hashimoto 66c716540f providers/aws: internet gateway delete is more flexible 2014-07-08 16:05:08 -07:00
Mitchell Hashimoto 5bec1ac383 providers/aws: gateway detach is idempotent 2014-07-08 16:02:01 -07:00
Mitchell Hashimoto c9bb814917 providers/aws: basic route table creation 2014-07-08 15:56:19 -07:00
Jack Pearkes 637d68140c providers/aws: ingress and egress rules 2014-07-08 17:47:03 -04:00
Jack Pearkes 47468c32a4 providers/aws: egress and ingress for sg 2014-07-08 16:34:10 -04:00
Jack Pearkes 6368526ac3 providers/aws: security groups 2014-07-08 14:06:51 -04:00
Mitchell Hashimoto e4a1b2485a providers/aws: call ValidateResource on Map
/cc @pearkes - Here is the thing that hooks it up. Good to go!
2014-07-08 10:18:39 -07:00
Mitchell Hashimoto f7b7c30055 providers/aws: internet gateway belongs to VPC 2014-07-07 21:03:53 -07:00
Mitchell Hashimoto c0dbb8febd providers/aws: much better logic for attaching/detaching internet gateways 2014-07-07 21:00:46 -07:00
Mitchell Hashimoto 037bed71ed providers/aws: support attaching/detaching internet gateway 2014-07-07 20:51:45 -07:00
Mitchell Hashimoto bdc2a53c9d providers/aws: style 2014-07-07 17:12:22 -07:00
Mitchell Hashimoto e33739209b providers/aws: its okay to delete something that is already gone 2014-07-07 17:09:05 -07:00
Mitchell Hashimoto 5b95271819 providers/aws: clean up internet gateway code 2014-07-07 16:14:08 -07:00
Mitchell Hashimoto 42e999923a providers/aws: aws_internet_gateway 2014-07-07 16:12:03 -07:00
Mitchell Hashimoto 2ef36e191b providers/aws: wait for resource to be gon 2014-07-07 15:44:08 -07:00
Mitchell Hashimoto 65d959003f providers/aws: setup subnet dependenyc on VPC 2014-07-07 15:38:24 -07:00
Jack Pearkes 0319e89281 providers/aws: remove instance_id manual storage 2014-07-07 18:08:42 -04:00
Mitchell Hashimoto 10e3cad5ce providers/aws: fix error message for aws_subnet 2014-07-07 15:03:18 -07:00
Mitchell Hashimoto a31c4e8788 providers/aws: aws_subnet 2014-07-07 14:46:18 -07:00
Jack Pearkes fac9c6bf10 providers/aws: eip use retrieval helper 2014-07-07 17:42:20 -04:00
Jack Pearkes e83e0f72b2 providers/aws: eip retrieve func, elb fix state saves after create 2014-07-07 17:38:35 -04:00
Jack Pearkes feb32e6f8a providers/aws: add refresh, refactor duplication in retrieve 2014-07-07 17:32:00 -04:00
Mitchell Hashimoto 56e5d20b40 providers/aws: use the proper ID field for vpc 2014-07-07 14:20:36 -07:00
Jack Pearkes 4f2388f787 providers/aws: eip destroy and drefresh 2014-07-07 15:37:38 -04:00
Mitchell Hashimoto 6deea2a93b providers/aws: handle eventual consistency of AWS in aws_vpc 2014-07-07 12:23:27 -07:00
Jack Pearkes 4f10569037 providers/aws: add EIP provider
resource "aws_eip" "public_web" {
  instance = "${aws_instance.web.instance_id}"

  # Defaults to false
  # vpc = "true"
}
2014-07-07 15:20:17 -04:00
Mitchell Hashimoto e51bdc92fa providers/aws: aws_vpc 2014-07-07 12:16:58 -07:00
Mitchell Hashimoto 20198cb7aa providers/aws: ABC, Its as Easy as 123
https://www.youtube.com/watch?v=I8GvDLDYhNM&feature=kp
2014-07-07 11:25:54 -07:00
Jack Pearkes 553e0a5d9a providers/aws: elb destroy 2014-07-07 14:03:40 -04:00
Jack Pearkes 69acd6272a providers/aws: elb instance registration 2014-07-07 10:07:06 -04:00
Jack Pearkes d484ebadcd providers/aws: update 2014-07-07 10:07:06 -04:00
Jack Pearkes 0f64ff9387 providers/aws: availability_zones and expandList 2014-07-07 10:07:06 -04:00
Jack Pearkes 1b6faa0eb9 providers/aws: helper for expanding listeners 2014-07-07 10:07:06 -04:00
Jack Pearkes 339355b2f1 providers/aws: elb hack 2014-07-07 10:07:06 -04:00
Mitchell Hashimoto 5d25de017c providers/aws: fix for latest ResourceBuilder API 2014-07-07 10:07:06 -04:00
Jack Pearkes a2815e50eb providers/aws: first pass at elb support 2014-07-07 10:07:06 -04:00
Jack Pearkes fd4eeac7dc providers/aws: timeout in state change conf 2014-07-07 10:07:06 -04:00
Jack Pearkes 2663bb993a providers/aws: use wait helper 2014-07-07 10:07:06 -04:00
Jack Pearkes a6d4acaa15 providers/aws: use mitchellh/goamz 2014-07-07 10:07:06 -04:00
Jack Pearkes 4c9a4ad041 providers/aws: add elb layout, move instance into it's own namespace 2014-07-07 10:07:06 -04:00
Mitchell Hashimoto 5dbfed31b6 providers/aws: compile 2014-07-03 13:06:24 -07:00
Mitchell Hashimoto 92e1e09a69 main: fix the help output to show up 2014-06-26 10:24:51 -07:00
Mitchell Hashimoto 6e995feb5e providers/aws: if no reservations, no instance 2014-06-26 09:58:38 -07:00
Mitchell Hashimoto fa3ac806cc providers/aws: use one resourcestate so we don't lose attributes 2014-06-25 23:21:46 -07:00
Mitchell Hashimoto e8035a5c96 providers/aws: properly create an i nstance after destroy 2014-06-25 18:49:30 -07:00
Mitchell Hashimoto bd0f23ce25 Move diff to helper/diff, helper/resource knows about it 2014-06-24 10:27:39 -07:00
Mitchell Hashimoto 938b4da8a5 providers/aws: comments 2014-06-24 10:23:09 -07:00
Mitchell Hashimoto ae142efff7 providers/aws: know how to destroy things 2014-06-24 10:22:22 -07:00
Mitchell Hashimoto 1df3297601 providers/aws: if terminated, no longer exists 2014-06-24 10:15:08 -07:00
Mitchell Hashimoto 391e9fd250 providers/aws: implement Refresh for aws_instance 2014-06-23 19:56:22 -07:00
Mitchell Hashimoto e91d8643dc providers/aws: create things 2014-06-23 19:50:19 -07:00
Mitchell Hashimoto 543e70aab1 helper/resource: nice helper for resourceprovider impl 2014-06-23 19:32:49 -07:00
Mitchell Hashimoto c556e2ad48 providers/aws: start filling out 2014-06-23 19:01:57 -07:00
Mitchell Hashimoto 9b4b89c16c diff: don't magically put ID in there, assumed if not set 2014-06-23 13:14:08 -07:00
Mitchell Hashimoto 7fa9bedefd providers/aws: adhere to interface 2014-06-20 11:52:21 -07:00
Mitchell Hashimoto 6618f39797 providers/aws: diff properly 2014-06-19 14:08:48 -07:00
Mitchell Hashimoto 965d403d3d providers/aws: Apply 2014-06-18 16:52:21 -07:00
Mitchell Hashimoto 4711850cf3 providers/aws: generate diff 2014-06-18 09:33:13 -07:00
Mitchell Hashimoto 0d557a605f providers/aws: use new diff package 2014-06-17 19:14:44 -07:00
Mitchell Hashimoto 847cd7ac51 diff: lazy resource map 2014-06-17 19:06:13 -07:00
Mitchell Hashimoto 9751878513 terraform: helpers on ResourceConfig 2014-06-12 23:08:47 -07:00
Mitchell Hashimoto 0b9542c5b9 providers/aws: compile 2014-06-12 22:39:29 -07:00
Mitchell Hashimoto 00a8c4f2ca providers/aws: get tests passing 2014-06-12 22:15:36 -07:00
Mitchell Hashimoto fa6a87e819 providers/aws: some mock data 2014-06-10 11:34:14 -07:00
Mitchell Hashimoto 54f3ff33b9 providers/aws: pass tests 2014-06-06 20:17:38 -07:00
Mitchell Hashimoto 0c1a341d90 terraform: Resources method for providers 2014-06-03 14:26:31 -07:00
Mitchell Hashimoto d6d5a97ec9 providers/aws: add the main binary 2014-05-29 17:28:38 -07:00