Commit Graph

1277 Commits

Author SHA1 Message Date
Mitchell Hashimoto
0b3d249727 provider/aws: ignore providers with Meta nil
We changed the way validation works for providers so that they aren't
always configured if they have computed attributes. The result is that
sometimes the Configure won't be called, hence Meta is nil
2015-06-30 10:24:53 -07:00
Clint
4f2f9546c3 Merge pull request #2574 from hashicorp/b-aws-spot-request-touchup
provider/aws: Code cleanups for Spot Requests
2015-06-30 09:30:26 -05:00
Clint Shryock
c81345f535 provider/aws: Code cleanups for Spot Requests 2015-06-30 09:28:14 -05:00
Paul Hinze
8fa96d2c33 provider/aws: fix db_subnet acc test
AWS accepts uppercase DB Subnet Group names - it just automatically
downcases them. We already had logic to handle that - so we
intentionally had an acctest with uppercase characters that was now
failing.

Loosening the regexp to allow uppercase letters for now - we can discuss
if we want to tighten the validation as a separate question.

/cc @radeksimko @catsby
2015-06-30 09:20:52 -05:00
Radek Simko
8acc55ae13 Merge pull request #2402 from hashicorp/f-aws-ecs-td-deregistration
provider/aws: Deregister ECS task definition correctly
2015-06-30 12:36:58 +01:00
Radek Simko
f67410db53 Merge pull request #2534 from dtan4/ec-subnet-group-subnet-ids
Make elasticache_subnet_group subnet_ids as required argument
2015-06-30 08:45:48 +01:00
Radek Simko
f5eb581425 provider/aws: ecs task definition is deregistered correctly 2015-06-29 23:37:20 +01:00
Radek Simko
406967e581 Merge pull request #2552 from TimeIncOSS/f-aws-iam-role-validation
provider/aws: Add validation for aws_iam_role_policy.name
2015-06-29 20:39:52 +01:00
Radek Simko
ce831e879f Merge pull request #2553 from TimeIncOSS/f-aws-iam-instance-profile-validation
provider/aws: Add validation for aws_iam_instance_profile.name
2015-06-29 20:39:39 +01:00
Clint
791787047f Merge pull request #2395 from GrayCoder/master
Add resource "aws_iam_policy_attachment" to attach a managed policy to users, roles, or groups
2015-06-29 14:33:34 -05:00
Paul Hinze
ddc266902b tests: test name consistency 2015-06-29 14:06:55 -05:00
Mitchell Hashimoto
686076526b Merge pull request #2543 from hashicorp/b-elastic-ip-destroy
provider/aws: ignore association not exist on EIP destroy [GH-2295]
2015-06-29 10:35:20 -07:00
Mitchell Hashimoto
4b5b6b6942 Merge pull request #2544 from hashicorp/b-vpc-peer-failed
providers/aws: vpc peering failed == deleted [GH-2322]
2015-06-29 10:35:15 -07:00
Mitchell Hashimoto
63466121f4 Merge pull request #2532 from hashicorp/b-vpc-retry
provider/aws: vpc delete retry on dependency violation [GH-1628]
2015-06-29 10:23:34 -07:00
Mitchell Hashimoto
9c9fe38fd8 Merge pull request #2531 from hashicorp/b-aws-instance-refresh
providers/aws: set AMI on read for instance [GH-1571]
2015-06-29 10:21:30 -07:00
Radek Simko
be8d0dea2d provider/aws: Add validation for aws_iam_instance_profile.name 2015-06-29 16:27:35 +01:00
Radek Simko
fed64b4fbd provider/aws: Add validation for aws_iam_role_policy.name 2015-06-29 16:23:42 +01:00
Mitchell Hashimoto
da1cac623d providers/aws: implement basic fast-path for not being in EC2 for creds 2015-06-28 23:06:49 -07:00
Mitchell Hashimoto
93cedc7ec1 providers/aws: style nitpick 2015-06-28 22:46:49 -07:00
Mitchell Hashimoto
2a5ed6c847 Merge pull request #1841 from josharian/aws-external-creds
providers/aws: detect credentials more robustly
2015-06-28 22:43:56 -07:00
Mitchell Hashimoto
e2e8d3746f providers/aws: vpc peering failed == deleted [GH-2322] 2015-06-28 22:35:02 -07:00
Mitchell Hashimoto
cc2a5ab18f provider/aws: ignore association not exist on EIP destroy [GH-2295] 2015-06-28 22:30:43 -07:00
Patrick Gray
28506c3750 add composeErrors function to only expose errors that happened 2015-06-28 22:30:54 -04:00
Patrick Gray
0f5c9c012d check length of slices instead of using incorrect type 2015-06-28 20:00:55 -04:00
Patrick Gray
c375a72f15 check for empty string instead of nil 2015-06-28 19:39:50 -04:00
Daisuke Fujita
562cf596dc Make elasticache_subnet_group subnet_ids essential 2015-06-28 16:13:25 +09:00
Mitchell Hashimoto
ad408d8862 provider/aws: vpc delete retry on dependency violation [GH-1628] 2015-06-26 17:26:06 -07:00
Mitchell Hashimoto
f6b9e7c1a6 providers/aws: set AMI on read for instance [GH-1571] 2015-06-26 17:12:20 -07:00
Clint Shryock
5938a0806f provider/aws: Read Route 53 after create, to populate computed values 2015-06-26 15:11:29 -05:00
Clint
079e4505a8 Merge pull request #2276 from SamClinckspoor/resource-aws-elasticache-parameter-group
provider/aws elasticache parameter group
2015-06-26 14:01:19 -05:00
Sam Clinckspoor
c92b7a980c fixed possibly incorrectly returning destroyed 2015-06-26 20:16:21 +02:00
Radek Simko
594f04e064 Merge pull request #2523 from TimeIncOSS/aws-fix-elb-validation
aws: Fix validation for aws_elb.name
2015-06-26 18:25:30 +01:00
Radek Simko
60a7597a4c aws: Fix validation for aws_elb.name 2015-06-26 18:08:13 +01:00
Radek Simko
2a9293a036 aws: Fix validation for aws_db_instance.identifier 2015-06-26 17:57:13 +01:00
Radek Simko
9528ff1e0a Merge pull request #2519 from TimeIncOSS/f-aws-lc-validation
provider/aws: Add validation for aws_launch_configuration
2015-06-26 15:53:22 +01:00
Radek Simko
685ca374dc Merge pull request #2520 from TimeIncOSS/f-aws-asg-validation
provider/aws: Add validation for aws_autoscaling_group.name
2015-06-26 15:53:14 +01:00
Radek Simko
a91db09efe provider/aws: Add validation for aws_iam_role.name 2015-06-26 15:44:56 +01:00
Radek Simko
23459ec840 provider/aws: Add validation for aws_autoscaling_group.name 2015-06-26 15:43:06 +01:00
Radek Simko
36fee9a2f5 provider/aws: Add validation for aws_launch_configuration 2015-06-26 15:40:28 +01:00
Radek Simko
7217a37696 Merge pull request #2517 from TimeIncOSS/f-aws-elb-validation
provider/aws: Add validation for aws_elb.name
2015-06-26 15:33:18 +01:00
Radek Simko
4230a524a4 Merge pull request #2516 from TimeIncOSS/f-aws-db-instance-id-validation
provider/aws: Add validation for aws_db_instance.identifier
2015-06-26 15:30:08 +01:00
Radek Simko
ea7395ffe7 Merge pull request #2518 from TimeIncOSS/f-aws-sg-validation
provider/aws: Add validation for aws_security_group (name+description)
2015-06-26 15:25:15 +01:00
Paul Hinze
ad0bfd9cfb Merge pull request #2321 from dpaq/f-add-additonal-protocol-integers-for-acls-and-security-groups
provider/aws: add ah and esp protocol integers for network acls and sg
2015-06-26 09:19:07 -05:00
Radek Simko
4525119a57 provider/aws: Add validation for aws_security_group (name+description) 2015-06-26 15:10:04 +01:00
Radek Simko
6f2fb0db38 provider/aws: Add validation for aws_elb.name 2015-06-26 15:08:00 +01:00
Radek Simko
3a9852568a provider/aws: Add validation for aws_db_instance.identifier 2015-06-26 15:06:36 +01:00
Paul Hinze
d82d803690 Merge pull request #2510 from CpuID/cpuid_gh2509
default_cooldown change shouldnt force new resource
2015-06-26 08:55:36 -05:00
Paul Hinze
4a14d83733 Merge pull request #2513 from TimeIncOSS/f-aws-validation-db-subnet-group
aws: Add validation for aws_db_subnet_group.name
2015-06-26 08:46:39 -05:00
Radek Simko
f424085f44 provider/aws: Add validation for aws_vpc.cidr_block
- closes #2340
2015-06-26 12:44:26 +01:00
Radek Simko
ca83dc2118 provider/aws: Add validation for aws_db_subnet_group.name 2015-06-26 12:39:55 +01:00