Radek Simko
1e8fb65925
provider/aws: Add regression test for ELB name validation
...
- prevent #2580 from hapenning again
2015-07-01 07:29:56 +01:00
Panagiotis Moustafellos
0cbb815d28
providers/aws: aws_elb: Allow alnum plus hyphen in name attribute
2015-07-01 09:16:32 +03:00
Adam Enger
ca8736d29f
Merge branch 'master' of github.com:reverbdotcom/terraform into adding-rds-snapshots
...
* 'master' of github.com:reverbdotcom/terraform: (524 commits)
docs: tweaks to RELEASING
Minor change to docs
Update CHANGELOG.md
Update DynamoDB example docs to remove non-key attributes; update test to remove non-key attribute from attribute set to prevent infinite planning loops
Update CHANGELOG.md
use /usr/bin/env bash
provider/aws: fix go vet
provider/aws: ignore providers with Meta nil
update CHANGELOG
provider/aws: Code cleanups for Spot Requests
provider/aws: fix db_subnet acc test
Fixing the tests
Fixes issue #2568
Update CHANGELOG.md
Update CHANGELOG.md
fixes typo
Fixed void Azure network config bug.
provider/aws: ecs task definition is deregistered correctly
provider/azure: fixup storage service test
provider/docker: [tests] change images
...
2015-06-30 15:26:23 -05:00
Paul Hinze
0d58b94636
Merge pull request #2576 from johnewart/dynamodb_docs
...
[dynamodb] Update docs and fix the acceptance test accordingly
2015-06-30 14:03:08 -05:00
Paul Hinze
97ee42663b
Merge pull request #2533 from hashicorp/b-vpn-connection-protection
...
provider/aws: nil protection against VPN connections [GH-2144]
2015-06-30 13:40:47 -05:00
John Ewart
ca7fe86c67
Update DynamoDB example docs to remove non-key attributes; update test to remove non-key attribute from attribute set to prevent infinite planning loops
2015-06-30 11:38:16 -07:00
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
676d490d40
provider/aws: Allow elb name to be generated
2015-06-30 13:13:51 +01: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
1cc5068b8c
provider/aws: nil protection against VPN connections [GH-2144]
2015-06-26 21:22:08 -07: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
Radek Simko
765be4c768
provider/aws: Fix naming in validation of db_instance.final_snapshot_identifier
2015-06-26 12:10:26 +01:00
Nathan Sullivan
4a791c1b41
default_cooldown change shouldnt force new resource - https://github.com/hashicorp/terraform/issues/2509 - credit to
...
@phinze and @mzupan for https://github.com/hashicorp/terraform/pull/2147
2015-06-26 15:51:31 +10:00
Clint
de5df6f378
Merge pull request #2462 from johnewart/dynamodb_throttle
...
dynamodb - Support backing off a bit when throttling / limit-exceeded exceptions happen
2015-06-25 12:29:09 -05:00
Clint Shryock
2e23210e58
poll ElastiCache cluster status on update
2015-06-25 11:10:02 -05:00
Clint Shryock
93a577880b
provider/aws: Allow in-place updates for ElastiCache cluster
2015-06-25 11:09:29 -05:00
Mitchell Hashimoto
25fa84974b
update CHANGELOG
2015-06-25 09:07:11 -07:00
Mitchell Hashimoto
02624118b3
Merge pull request #2489 from joshgarnett/aws_instance_monitoring
...
provider/aws: adding support for detailed monitoring of instances
2015-06-25 09:05:15 -07:00
Mitchell Hashimoto
ecbd5a5013
Merge pull request #2455 from semarj/master
...
dynamodb - only require nonkey attributes on INCLUDE
2015-06-25 09:03:44 -07:00
Joshua Garnett
d23f534d26
Adding support for detailed monitoring of instances
2015-06-25 10:58:28 -04:00
Joshua Semar
7e05b083d3
include keys only projection type
2015-06-25 09:30:44 -05:00
Clint
7a15090208
Merge pull request #2472 from hashicorp/f-aws-asg-update-elbs
...
provider/aws: Update ASGs to support in-place updates for Load Balancers
2015-06-25 08:55:46 -05:00
Joshua Semar
46fed750a5
simple acc test covering more projection types
2015-06-25 03:38:17 -05:00
Radek Simko
dc26f06b5f
Merge pull request #2410 from TimeIncOSS/f-aws-lc-monitoring
...
provider/aws: Add aws_launch_configuration.enable_monitoring
2015-06-25 07:02:56 +01:00
Mitchell Hashimoto
a4070a1972
Merge pull request #2452 from zollie/f-aws-launch-configuration-profile-propagation-wait
...
provider/aws: Add retry to aws_launch_configuration Create to wait for IAM instance profile propagation
2015-06-24 22:59:42 -07:00
Clint Shryock
6e818785af
provider/aws: Update ASGs to support in-place updates for Load Balancers
2015-06-24 16:37:23 -05:00
zollie
579b33b8a2
Retry aws_launch_configuration Create on 'Invalid IamInstanceProfile' error only
2015-06-24 17:11:46 -04:00
Radek Simko
6fdbca8e58
Merge pull request #2466 from TimeIncOSS/f-schema-field-name-validate
...
schema: Add field name to ValidateFunc
2015-06-24 18:52:53 +01:00
Mitchell Hashimoto
232916a4de
Merge pull request #2449 from hashicorp/b-aws-sg-crash
...
providers/aws: more guards against crashy cases [GH-2308]
2015-06-24 10:35:04 -07:00
Radek Simko
92db4802b6
schema: Add field name to ValidateFunc
2015-06-24 18:22:12 +01:00
John Ewart
fd98cae9cc
Increment attemptCount when a LimitExceededException occurs
2015-06-24 07:36:14 -07:00
John Ewart
7718cd194c
Support backing off a bit when throttling / limit-exceeded exceptions happen
2015-06-24 07:25:00 -07:00
Mitchell Hashimoto
fef5741ded
providers/aws: fix another crash case
2015-06-23 22:48:39 -07:00
Mitchell Hashimoto
cddd54c3de
fmt
2015-06-23 22:31:24 -07:00
Joshua Semar
7948aa720e
dynamodb - only require nonkey attributes on INCLUDE
2015-06-23 23:50:29 -05:00
zollie
079a26a655
Wrapped Create in a resource.Retry to wait for IAM instance profile propagation
2015-06-23 22:14:53 -04:00
Mitchell Hashimoto
b0169adf02
providers/aws: more guards against crashy cases [GH-2308]
2015-06-23 16:23:24 -07:00
Radek Simko
5cf5451d28
Merge pull request #1999 from TimeIncOSS/r53-delegation-set
...
provider/aws: Add Route 53 delegation set resource
2015-06-23 22:51:47 +01:00
Clint
24c4c55511
Merge pull request #2384 from hashicorp/f-aws-flow-logs
...
provider/aws: Add FlowLog resource
2015-06-23 15:08:00 -05:00
Paul Hinze
7d26e1408a
Merge pull request #2434 from hashicorp/b-sg-rule-crash
...
provider/aws: fix sg rule crash
2015-06-23 15:01:35 -05:00
Paul Hinze
95235ba2cc
Merge pull request #2374 from hashicorp/b-aws-detect-instance-type-drift
...
provider/aws: detect instance_type drift on aws_instance
2015-06-23 15:01:20 -05:00
Paul Hinze
e0fccf2dcc
provider/aws: fix sg rule crash
...
Fixes crash in #2431
Decided that `findResourceSecurityGroup` should return an error when
the SG is not found, since the callers cannot happily continue with a
`nil` SG
Also passes through a few error cases that were being swallowed.
/cc @catsby
2015-06-23 09:25:55 -05:00
Paul Hinze
020dc03234
provider/aws: fix root_block_device for odd AMIs
...
Some AMIs have a RootDeviceName like "/dev/sda1" that does not appear as a
DeviceName in the BlockDeviceMapping list (which will instead have
something like "/dev/sda")
While this seems like it breaks an invariant of AMIs, it ends up working
on the AWS side, and AMIs like this are common enough that we need to
special case it so Terraform does the right thing.
Our heuristic is: if the RootDeviceName does not appear in the
BlockDeviceMapping, assume that the DeviceName of the first
BlockDeviceMapping entry serves as the root device.
fixes #2224
2015-06-23 09:01:41 -05:00
Paul Hinze
cde64727f3
Merge pull request #2411 from Jberlinsky/master
...
Improve idempotency of aws_iam_server_certificate provisioning
2015-06-22 18:12:49 -05:00
Paul Hinze
aa8cf572a8
Merge pull request #2265 from hashicorp/f-schema-validate-field
...
Support arbitrary per-field schema validation
2015-06-22 18:01:54 -05:00
Clint Shryock
cc43ae8c4b
Merge branch 'master' into f-aws-flow-logs
...
* master:
Update CHANGELOG.md
Update CHANGELOG.md
Added affinity group resource.
update link to actually work
provider/azure: Fix SQL client name to match upstream
add warning message to explain scenario of conflicting rules
typo
remove debugging
Update CHANGELOG.md
provider/aws: Add docs for autoscaling_policy + cloudwatch_metric_alarm
provider/aws: Add autoscaling_policy
provider/aws: Add cloudwatch_metric_alarm
rename method, update docs
clean up some conflicts with
clean up old, incompatible test
update tests with another example
update test
remove meta usage, stub test
fix existing tests
Consider security groups with source security groups when hashing
2015-06-22 09:33:42 -05:00
Clint Shryock
87c7f6337d
remove flow/deliver log status attributes
2015-06-22 09:31:37 -05:00
Jason Berlinsky
06e2336467
Replace AWS IAM test SSL certificate with self-signed cert, including CA chain
2015-06-21 01:40:29 -04:00
Jason Berlinsky
a7b31ac40d
Normalize certificate chains as well as certificate bodies when creating AWS IAM SSL certificates
2015-06-21 01:40:09 -04:00
Radek Simko
cbddab8a69
provider/aws: Add aws_launch_configuration.enable_monitoring
2015-06-20 23:40:29 +01:00
Clint Shryock
44eb55f8f6
update link to actually work
2015-06-19 11:50:10 -05:00
Clint Shryock
a3cbb74a2e
Merge branch 'master' into jszwedko-fix-sg
...
* master: (23 commits)
typo
Update CHANGELOG.md
provider/aws: Add docs for autoscaling_policy + cloudwatch_metric_alarm
provider/aws: Add autoscaling_policy
provider/aws: Add cloudwatch_metric_alarm
Update CHANGELOG.md
Update CHANGELOG.md
provider/template: don't error when rendering fails in Exists
Update CHANGELOG.md
Added Azure SQL server and service support.
Update CHANGELOG.md
docs: clarify wording around destroy/apply args
Getting Started: Added a Next Step upon finishing install.
docs: add description of archive format to download page
docs: snapshot plugin dependencies when releasing
add v0.5.3 transitory deps
Fixes support for changing just the read / write capacity of a GSI
Change sleep time for DynamoDB table waits from 3 seconds to 5 seconds
Remove request for attribute changes
Fix AWS SDK imports
...
2015-06-19 11:31:41 -05:00
Clint Shryock
645a5aa55b
add warning message to explain scenario of conflicting rules
2015-06-19 11:23:59 -05:00