James Nugent
19e68da388
Merge pull request #4340 from stack72/f-aws-db_subnet_group_name-downcase
...
provider/aws: StateFunc on db_subnet_group name to be lowercase
2015-12-16 11:36:37 -05:00
stack72
57bcb49ede
Change the DB Subnet Group Name to not allow UPPERCASE characters. If
...
this happens, throw a validation error
Add some ValidationTests for the DBSubnetGroupName ValidateFunc
2015-12-16 17:32:47 +01:00
Clint
54e44328e6
Merge pull request #4254 from hashicorp/b-aws-auth-refactor
...
provider/aws: WIP Refactor AWS Authentication chain
2015-12-16 10:12:06 -06:00
Clint
64482422b5
Merge pull request #4146 from hashicorp/b-aws-ebs-validate
...
providers/aws: Validate IOPs for EBS Volumes
2015-12-15 11:33:49 -06:00
clint shryock
adf417809a
add some comments on auth refactoring
2015-12-15 10:49:23 -06:00
clint shryock
5f5459a1fb
provider/aws: Refactor AWS Authentication chain
...
- update auth checking to check metadata header
- refactor tests to not export os env vars
2015-12-15 10:46:10 -06:00
clint shryock
d7a73937eb
provider/aws: Guard against nil DB Parameter vaules
2015-12-14 14:45:27 -06:00
Chris Marchesi
bfa4a88170
Retry InvalidParameterValueException errors due to newly created resources
2015-12-14 11:12:06 -08:00
Chris Marchesi
559aa50a31
Retry MalformedPolicy errors due to newly created principals
2015-12-14 10:42:08 -08:00
Spencer Nelson
063d770e51
provider/aws: Kinesis DescribeStream pagination
...
Each call to the Kinesis DescribeStream API returns a limited number of
shards. When interrogating AWS for the state of a Kinesis stream, the
client needs to page through the API's responses to get the true number
of shards.
2015-12-14 11:27:00 -05:00
justnom
38509d583d
Fixes #4253
2015-12-14 10:33:08 -05:00
James Nugent
19ea14bf8d
Merge pull request #4256 from stack72/aws-asg-scheduled-actions
...
provider/aws: Autoscaling Group Scheduled Actions
2015-12-11 16:54:13 -05:00
stack72
c965d2278e
Adding a resource for aws_autoscaling_schedule
2015-12-11 18:43:38 +00:00
toshihisa
bedd020dee
issue #4137
...
vpc_endpoint bug fix.
2015-12-12 01:15:54 +09:00
Clint
8b21f284b4
Merge pull request #4259 from stack72/aws-db_parameter_group-tags
...
provider/aws: Adding Tag support for DB Param Groups
2015-12-11 08:58:26 -06:00
Clint
5b2230588a
Merge pull request #4260 from stack72/aws-db_security_group-tags
...
provider/aws: Adding support for Tags to DB SecurityGroup
2015-12-11 08:48:59 -06:00
stack72
dec5a27f19
Adding the ARN as an output of the DB Subnet Group
2015-12-11 12:39:15 +00:00
stack72
474d6080f0
Adding support for Tags to the DB Security Group
2015-12-11 12:28:24 +00:00
stack72
67c1971e63
Adding support to DB Parameter Group for Tags
2015-12-11 12:07:50 +00:00
stack72
d84d6796c4
Initial CRUD work for the Autoscaling Group Scheduled Actions
2015-12-11 10:53:46 +00:00
James Nugent
fb4878cf37
Merge pull request #3853 from stack72/f-aws-db-instance-omit-snapshot
...
provider/aws: add DB Instance skip_final_snapshot
2015-12-10 18:38:11 -05:00
stack72
2b0c7aa4e9
Making the changes to db_instance skip_final_snapshot on the feedback from @catsby
2015-12-10 23:21:36 +00:00
James Nugent
2fecc72fb0
Merge pull request #3809 from stack72/f-aws-elasticache-cache-nodes-reduction
...
provider/aws: Ability to reduce nodes in an ElastiCache cluster
2015-12-10 15:30:09 -05:00
stack72
6082e3e732
Changing the db_instance to throw an error is a final snapshot is required but yet no identified is given
2015-12-10 19:11:47 +00:00
stack72
5796b13373
Adding skip_final_snapshop bool to th db_instance. This will allow us to specify whether a snapshot is needed directly rather than checking for an empty string
2015-12-10 19:11:47 +00:00
James Nugent
a213fe121d
Merge pull request #4245 from grisha/esd_fix
...
Fix a bug whereby AWS elasticsearch domain access_policies will always appear changed
2015-12-10 14:08:38 -05:00
Clint
eb3840c574
Merge pull request #4242 from hashicorp/b-aws-lc-guard
...
provider/aws: Fix missing AMI issue with Launch Configurations
2015-12-10 08:55:49 -06:00
Grisha Trubetskoy
6fbfd99ace
Fix a bug whereby AWS elasticsearch domain access_policy will
...
always appear changed because of a missing normalizeJson().
2015-12-09 23:29:38 -05:00
Martin Atkins
b679bb2b31
Merge pull request #4241 from b-ryan/fix/opsworks-ssh-key-write-only
...
Make the OpsWorks cookbooks SSH key write only
2015-12-09 18:04:58 -08:00
clint shryock
e4dba86098
provider/aws: Fix missing AMI issue with Launch Configurations
2015-12-09 16:39:03 -06:00
clint shryock
5c60f7f2c1
provider/aws: Trap Instance error from mismatched SG IDs and Names
2015-12-09 15:59:36 -06:00
Buck Ryan
921944c956
Make the OpsWorks cookbooks SSH key write only
...
Fixes #3635
This follows the suggestion of @apparentlymart in
https://github.com/hashicorp/terraform/issues/3635#issuecomment-151000068
to fix the issue of OpsWorks stacks always complaining about the custom
cookbooks SSH key needing to be changed.
Functional tests:
* Created a new stack and gave it an SSH key. The key was written to
OpsWorks properly.
* Ran "plan" again and terraform indicated it needed to change the SSH
key, which is expected since terraform cannot read what the existing
SSH is.
* Removed the key from my resource and this time, "plan" did not have
any changes. The `tfstate` file indicated the SSH key was "" (empty
string).
* Changed an unrelated property of the stack. Previously this was not
working for me due to terraform attempting to change the SSH key.
2015-12-09 16:58:05 -05:00
Clint
078280f1ea
Merge pull request #4155 from hashicorp/b-aws-db-replica-storage
...
providers/aws: Update DB Replica to honor storage type
2015-12-09 13:30:23 -06:00
Clint
501a016692
Merge pull request #4127 from hashicorp/aws-vet
...
Small updates to AWS provider to make go vet happy
2015-12-09 13:30:07 -06:00
clint shryock
6015874273
providers/aws: Update DB Replica to honor storage type
...
DB Replica can be of a different storage type, but we were skipping that part.
Note that they are created as the default (or as the primary?) initially,
and then modified to be of the correct type
2015-12-09 13:24:10 -06:00
Clint
9cc5e52cf0
Merge pull request #4167 from stack72/aws-security_group_name_prefix
...
provider/aws: securitygroup name_prefix
2015-12-09 11:42:34 -06:00
Clint
8e20552d44
Merge pull request #4236 from hashicorp/b-aws-s3-hosted-zone-update
...
providers/aws: Update Hosted Zones to fix issue with eu-central
2015-12-09 10:51:02 -06:00
clint shryock
bd22c77c1f
providers/aws: Update Hosted Zones to fix issue with eu-central
2015-12-09 10:44:22 -06:00
Clint
ced42342ff
Merge pull request #4215 from hashicorp/pr-4207
...
Fix issue creating AWS RDS replicas across regions
2015-12-09 09:54:53 -06:00
Clint
9044807152
Merge pull request #4221 from hashicorp/b-aws-runinstances-check
...
provider/aws: Handle empty Instances response from RunInstances
2015-12-09 09:54:02 -06:00
Paul Hinze
5884323c99
Merge pull request #4208 from stack72/aws-dynamodb_streams
...
provider/aws: DynamoDB Table StreamSpecifications
2015-12-08 18:42:48 -06:00
Paul Hinze
baeb790ed9
provider/aws: fix capitalization in acctest names
2015-12-08 17:49:17 -06:00
Clint
9f5f30650f
Merge pull request #4168 from combor/malformed_xml_fix
...
S3 bucket force_destroy error: MalformedXML
2015-12-08 15:24:50 -06:00
stack72
8b79881dea
Adding a validation function for the DynamoDb Table StreamViewType
2015-12-08 20:58:06 +00:00
Paul Hinze
a6ca034968
provider/aws: run codeclimate tests in us-east-1
...
It's only available there.
2015-12-08 14:46:08 -06:00
Paul Hinze
6e32320e41
provider/aws: switch test to use more accessible ami
...
Switch out an AMI that doesn't require marketplace terms acceptance.
2015-12-08 14:40:24 -06:00
clint shryock
9fc6c27de1
provider/aws: Check for empty instances in AWS Instance RunInstance response
...
Fixes #4206
2015-12-08 14:37:54 -06:00
clint shryock
e52af33db7
remove extra DBSubnetGroupName
2015-12-08 10:55:57 -06:00
clint shryock
0619898f6a
provider/aws: Add arn to DB Instance output
2015-12-08 10:52:17 -06:00
stack72
d46348c233
Adding support for AWS DynamoDB Table for StreamSpecifications
2015-12-08 14:07:11 +00:00
Philipp Preß
1cd2fea1f9
Fix AWS RDS cross-region read replica always being placed in default VPC
...
Fixes #4192 by honouring the `db_subnet_group_name` parameter when creating a cross-region read replica.
2015-12-08 15:06:57 +01:00
clint shryock
cf87642bc8
provider/aws: Fix issue destroy Route 53 zone/record if it no longer exists
2015-12-07 16:33:37 -06:00
clint shryock
7bf404619c
adjust the ebs validation to not error, only log, and only set iops for io1
2015-12-07 14:49:44 -06:00
clint shryock
5e54bcc6ff
Add test for iops with gp2, remove strict validation
2015-12-07 11:16:29 -06:00
Piotr Komborski
3d28b8dec2
S3 bucket force_destroy error: MalformedXML
...
AWS provider was not checking whether DeleteMarkers are left in S3
bucket causing s3.DeleteObjectsInput to send empty XML which resulted in
400 error and MalformedXML message.
2015-12-04 15:24:23 +00:00
stack72
6817e0d144
Adding the ability to generate a securitygroup name-prefix
2015-12-04 09:21:08 -05:00
Paul Hinze
8e40b6b855
provider/aws: fixes to ASG placement_group tests
...
Based on @stack72's recommendations in #3704 , thanks @stack72!
2015-12-03 18:17:54 -06:00
Paul Hinze
709d1f3599
Merge pull request #3704 from dayer4b/add-placement-group
...
added placement group as an option for autoscaling groups
2015-12-03 18:05:01 -06:00
Clint
79c9953b83
Merge pull request #4075 from elblivion/fix-elb-ec2-classic
...
provider/aws: Skip SG ID determination logic for Classic ELBs
2015-12-03 14:23:14 -06:00
clint shryock
d1bba3095b
providers/aws: Validate IOPs for EBS Volumes
2015-12-02 15:20:11 -06:00
stack72
2882d01904
Work to allow reducing the Number of Cache Nodes in an ElastiCache Cluster
2015-12-02 21:07:50 +00:00
James Nugent
69272f3113
provider/aws: error with empty list item on sg
...
This addresses the case where `compact` has not been used on a list
passed into security group as cidr_block. See #3786 . Compact is still
the correct answer there, but we should prefer returning an error to
a panic. Fixes #3786 .
2015-12-02 11:36:50 -05:00
clint shryock
be07e4c0c9
cleanup spot instance attribute setting
2015-12-01 15:25:53 -06:00
clint shryock
c5f0c8ced6
provider/aws: Check for nil on some spot instance attributes
2015-12-01 14:58:59 -06:00
clint shryock
4a5847f9ea
providers/aws: Vet aws
2015-12-01 10:00:35 -06:00
James Nugent
9987f36d86
Merge pull request #4093 from paybyphone/master
...
provider/aws: New resource `aws_lambda_event_source_mapping`
2015-12-01 08:36:45 -05:00
Chris Marchesi
85627630bd
New resource (AWS provider) - aws_lambda_event_source_mapping
2015-11-30 07:45:38 -08:00
James Nugent
85c8595c89
Merge pull request #4108 from stack72/f-aws-route53-spf-record
...
provider/aws: Normalization of SPF records to prevent reporting changes
2015-11-30 13:15:32 +00:00
stack72
fece57f83b
Changing the IAM Role resource to allow update of Assume Policy Document
2015-11-30 12:52:07 +00:00
stack72
a556c98cde
Adding support for the escapaing of Route53 SPF records
2015-11-30 12:14:39 +00:00
stack72
0cca74fe76
Changing the S3 Bucket resource to allow the update of ACL by using PutBucketAcl
2015-11-26 21:45:48 +00:00
Anthony Stanton
5753efa8af
Skip SG ID determination logic for Classic ELBs
2015-11-26 15:34:28 +01:00
stack72
632a9147cc
Adding support for Block_Durations to AWS Spot instance
2015-11-26 11:56:04 +00:00
James Nugent
b7a12e3a58
Merge pull request #4009 from apparentlymart/aws-opsworks-acctest-iam
...
provider/aws: AWS Opsworks tests bring their own IAM objects
2015-11-25 21:26:40 +02:00
James Nugent
c262bc72ea
Merge pull request #3895 from br0ch0n/rds_pub_access_param
...
Issue #3894 RDS publicly_accessible param shouldn't force new resource
2015-11-25 21:09:23 +02:00
clint shryock
e9cb722471
providers/aws: Fix issue recreating security group rule if it has been destroyed
2015-11-24 13:50:30 -06:00
James Nugent
288e568272
Merge pull request #4024 from rjeczalik/nil-deref-fix
...
provider/aws: fix for https://github.com/aws/aws-sdk-go/issues/452
2015-11-24 11:52:33 +02:00
Rafal Jeczalik
9e66e18334
provider/aws: fix for https://github.com/aws/aws-sdk-go/issues/452
2015-11-24 09:30:21 +01:00
James Nugent
99e3d62cd8
provider/aws: Make VPC ID required on subnets
2015-11-23 16:53:49 +02:00
Clint
82050ff832
Merge pull request #4005 from hashicorp/b-aws-iam-user-delete
...
provider/aws: Fix issue deleting users who are attached to a group
2015-11-23 08:22:48 -06:00
Clint
7772a66b2f
Merge pull request #3940 from hashicorp/b-aws-spot-instance-updates
...
providers/aws: Update Spot Instance request to provide connection information
2015-11-23 08:22:07 -06:00
stack72
150e997a96
Changing the AWS ElastiCache cluster maintenance_window to enforce lowercase
2015-11-23 12:54:56 +00:00
Paul Forman
52aad04930
Mistake in type refactor in cloudTrailGetLoggingStatus
...
When adjusting the types to prevent casting, I didn't change the error
message to handle the pointer change. "go tool vet" caught this.
2015-11-22 13:23:08 -07:00
Paul Forman
9cec40ea3c
Add missing error-checks from code review
...
Some error-checking was omitted.
Specifically, the cloudTrailSetLogging call in the Create function was
ignoring the return and cloudTrailGetLoggingStatus could crash on a
nil-dereference during the return. Fixed both.
Fixed some needless casting in cloudTrailGetLoggingStatus.
Clarified error message in acceptance tests.
Removed needless option from example in docs.
2015-11-22 12:54:11 -07:00
Paul Forman
484887c0c5
Change default for logging in CloudTrail to true
...
The default for `enable_logging`, which defines whether CloudTrail
actually logs events was originally written as defaulting to `false`,
since that's how AWS creates trails.
`true` is likely a better default for Terraform users.
Changed the default and updated the docs.
Changed the acceptance tests to verify new default behavior.
2015-11-22 10:47:23 -07:00
Paul Forman
c9eeb161e0
Add a comment in tests
...
The purpose of the first test of enable_logging wasn't quite clear.
It's future-proofing against the assumptions made about AWS behavior.
2015-11-21 14:55:08 -07:00
Martin Atkins
11190144f0
AWS Opsworks tests bring their own IAM objects.
...
Previously we assumed the existence of some default objects that most
Opsworks users have because the Opsworks console creates them by default
when a new stack is created.
However, that meant that these tests wouldn't work correctly for anyone
who either had never used Opsworks via the UI or who had never accepted
the default of having the console create some predefined IAM objects to
use. It may also have led to some weird failures if a particular user had
customized the settings for these default objects.
Now the tests create suitable IAM roles, a policy and an instance profile
and use these when creating Opsworks stacks, avoiding any dependency
on any pre-existing objects.
This fixes #3998 .
2015-11-21 11:13:25 -08:00
Paul Forman
f98dbbb580
Tests and docs for AWS CloudTrail "enable_logging"
...
Add acceptance tests for creation, enable, and disable logging.
Add option to docs and example.
2015-11-21 00:18:38 -07:00
Paul Forman
52db098292
Add enable_logging to AWS CloudTrail
...
The AWS CloudTrail resource is capable of creating CloudTrail resources,
but AWS defaults the actual logging of the trails to `false`, and
Terraform has no method to enable or monitor the status of logging.
CloudTrail trails that are inactive aren't very useful, and it's a
surprise to discover they aren't logging on creation.
Added an `enable_logging` parameter to resource_aws_cloudtrail to enable
logging. This requires some extra API calls, which are wrapped in new
internal functions.
For compatibility with AWS, the default of `enable_logging` is set to
`false`.
2015-11-21 00:18:38 -07:00
clint shryock
233aab6e0a
provider/aws: Fix issue deleting users who are attached to a group
...
If you want to delete an IAM user, that user must not belong to any groups
2015-11-20 16:54:26 -06:00
Clint
cc70d25dc5
Merge pull request #3898 from hashicorp/b-aws-elb-iam-cert-delete
...
providers/aws: Retry deleting IAM Server Cert on dependency violation
2015-11-20 14:50:18 -06:00
Clint
9edbf6a7fc
Merge pull request #3908 from hashicorp/b-elb-cookie-fix
...
provider/aws: Fix issue with LB Cookie Stickiness and empty expiration period
2015-11-20 14:49:00 -06:00
clint shryock
9eb46c28b2
use a log group resourcE
2015-11-20 13:15:20 -06:00
clint shryock
cf5b32617b
fix vpn gateway refresh/reattach issue
2015-11-20 11:47:10 -06:00
Julien Fabre
ed3f54cc47
Add AWS Classiclink for AWS VPC resource
2015-11-20 16:48:48 +01:00
clint shryock
73475edceb
update TestAccAWSFlowLog_subnet to use new cloudwatch resource, not needing env var anymore
2015-11-20 09:39:43 -06:00
clint shryock
fe204bb291
error test when env var is not supplied
2015-11-20 09:39:17 -06:00
clint shryock
4d0699b9dd
mark snapshots as computed for ElastiCache clusters
2015-11-20 09:39:17 -06:00
clint shryock
01b9af40d1
fix resource name in test
2015-11-19 15:44:40 -06:00
clint shryock
0874347478
update ami id for test
2015-11-19 15:37:05 -06:00
clint shryock
fd251e8b45
rename TestAccAWSRoute53Record_weighted to TestAccAWSRoute53Record_weighted_basic to test in isolation
2015-11-18 16:08:23 -06:00
Clint
5024d66f3c
Merge pull request #3970 from hashicorp/b-aws-iam-policy-attachfix
...
providers/aws: Fix typo in error checking for IAM Policy Attachments
2015-11-18 13:57:03 -06:00
clint shryock
5482e98927
Fix typo in error checking for IAM Policy Attachments
2015-11-18 13:48:46 -06:00
Paul Hinze
a211fc3469
Merge pull request #3965 from hashicorp/b-aws-sg-rules-v2-race
...
provider/aws: serialize SG rule access to fix race condition
2015-11-18 12:47:55 -06:00
Paul Hinze
6b6b5a43c3
provider/aws: serialize SG rule access to fix race condition
...
Because `aws_security_group_rule` resources are an abstraction on top of
Security Groups, they must interact with the AWS Security Group APIs in
a pattern that often results in lots of parallel requests interacting
with the same security group.
We've found that this pattern can trigger race conditions resulting in
inconsistent behavior, including:
* Rules that report as created but don't actually exist on AWS's side
* Rules that show up in AWS but don't register as being created
locally, resulting in follow up attempts to authorize the rule
failing w/ Duplicate errors
Here, we introduce a per-SG mutex that must be held by any security
group before it is allowed to interact with AWS APIs. This protects the
space between `DescribeSecurityGroup` and `Authorize*` / `Revoke*`
calls, ensuring that no other rules interact with the SG during that
span.
The included test exposes the race by applying a security group with
lots of rules, which based on the dependency graph can all be handled in
parallel. This fails most of the time without the new locking behavior.
I've omitted the mutex from `Read`, since it is only called during the
Refresh walk when no changes are being made, meaning a bunch of parallel
`DescribeSecurityGroup` API calls should be consistent in that case.
2015-11-18 12:39:59 -06:00
Nashwan Azhari
da8314ce8a
provider/aws: removed build-blocking unused variable.
2015-11-18 15:08:45 +02:00
Radek Simko
306046b82b
Merge pull request #3955 from cbusbey/db_subnet_spaces
...
allow spaces in db subnet name
2015-11-17 22:38:36 +00:00
Clint
0bd8b32637
Merge pull request #3237 from GrayCoder/group-work
...
provider/aws: add support for group name and path changes with group update function
2015-11-17 16:37:40 -06:00
Chris Busbey
12d51edeb6
allow spaces in db subnet name
2015-11-17 12:48:56 -08:00
Paul Hinze
7f9360797c
provider/aws: wait for ASG capacity on update
...
It's a bit confusing to have Terraform poll until instances come up on
ASG creation but not on update. This changes update to also poll if
min_size or desired_capacity are changed.
This changes the waiting behavior to wait for precisely the desired
number of instances instead of that number as a "minimum". I believe
this shouldn't have any undue side effects, and the behavior can still
be opted out of by setting `wait_for_capacity_timeout` to 0.
2015-11-17 10:25:41 -06:00
Clint
2ed867b5ab
Merge pull request #3945 from hashicorp/b-aws-r53-record-zone-fix
...
provider/aws: Fix crash in Route53 Record if Zone not found
2015-11-17 09:10:50 -06:00
Brandon Rochon
6875e9aaec
Issue #3894 RDS publicly_accessible param shouldn't force new resource
...
Change-Id: I0a10e050ca1c4f2dde5e04f237de6115723522d8
2015-11-16 17:47:35 -08:00
Radek Simko
00d0551933
aws: Add missing dereference operator
2015-11-16 23:19:45 +00:00
clint shryock
1413d032ee
provider/aws: Fix crash in Route53 Record if Zone not found
2015-11-16 17:15:17 -06:00
clint shryock
901e5fbf9f
fix log reference
2015-11-16 17:14:02 -06:00
clint shryock
8085e55eda
fix issue with undefined var
2015-11-16 16:29:52 -06:00
Radek Simko
a8ceda1b15
Merge pull request #3914 from TimeIncOSS/b-aws-ecs-service-gone
...
provider/aws: Prevent crashing when deleting ecs_service which is gone
2015-11-16 21:46:06 +00:00
clint shryock
70f1c9c1e6
remove duplicate readInstance call
2015-11-16 15:16:41 -06:00
clint shryock
66ad974193
add acceptance test for spot instanace updates
2015-11-16 15:11:44 -06:00
clint shryock
f31b30d4a5
minor tweaks to connection info setup
2015-11-16 14:51:14 -06:00
clint shryock
d998e883fb
providers/aws: Update Spot Instance request to provide connection information
2015-11-16 14:43:24 -06:00
Radek Simko
5c59bd95cb
Merge pull request #3924 from TimeIncOSS/b-aws-ecs-td-computed
...
provider/aws: Make all fields in ecs_task_definition ForceNew
2015-11-16 15:31:17 +00:00
Rafal Jeczalik
4f25b552bb
use single import path for aws-sdk-go
2015-11-16 00:42:08 +01:00
Radek Simko
33ca2a796f
Fix typo (Modifier -> Modified)
2015-11-14 12:19:29 +00:00
Radek Simko
308edd6dd7
provider/aws: Make all fields in ecs_task_definition ForceNew
...
- fixes https://github.com/hashicorp/terraform/issues/2694
2015-11-14 10:36:01 +00:00
Radek Simko
aae8fc8494
provider/aws: Add acceptance test for bugfix for #2694
2015-11-14 10:34:17 +00:00
Radek Simko
d5ae5ba062
Merge pull request #3910 from hashicorp/phinze/s3-object-homedir-expand
...
provider/aws: homedir expand in s3 object source
2015-11-14 09:35:09 +00:00
Radek Simko
0822776de0
provider/aws: If ecs_service isn't found during Read, delete it
2015-11-13 21:45:21 +00:00
Radek Simko
d9a5de7f7d
provider/aws: Prevent crashing when deleting ecs_service which is gone
...
- fixes https://github.com/hashicorp/terraform/issues/3868
2015-11-13 21:42:29 +00:00
clint shryock
7d94c86958
go fmt structure files
2015-11-13 13:53:52 -06:00
Sunil K Chopra
bf88ee8ddb
fix test to include creation of placement group
2015-11-13 12:40:19 -06:00
Paul Hinze
44f259bd74
provider/aws: homedir expand in s3 object source
...
fixes #3856
2015-11-13 11:21:22 -06:00
clint shryock
e94fcdb9df
add validation for cookie stickiness
2015-11-13 10:46:27 -06:00
clint shryock
b81f9a9c52
provider/aws: Fix issue with LB Cookie Stickiness and empty expiration period
2015-11-13 10:34:15 -06:00
James Nugent
839fc5bfee
Merge pull request #3900 from Banno/fix-aws-route53-record-failover-weight
...
provider/aws: fix for creating failover route53 records
2015-11-12 16:56:59 -06:00
clint shryock
6fa69ede1c
add debugging statements to add/remove listeners
2015-11-12 16:20:54 -06:00
Luke Amdor
10ca0559ae
provider/aws: no weight for all set_identifier
2015-11-12 16:15:05 -06:00
clint shryock
c60a963908
providers/aws: Retry deleting IAM Server Cert on dependency violation
...
This will retry deleting a server cert
if it throws an error about being in use with an ELB (that we've likely just
deleted)
Includes test for ELB+IAM SSL cert bug dependency violation
2015-11-12 16:07:34 -06:00
Brandon Rochon
b6738f13c1
Issue #3894 RDS publicly_accessible param shouldn't force new resource
...
Change-Id: I833f9e07f3fc1f6ee475673ad978b3982f0b6273
2015-11-12 13:33:27 -08:00
clint shryock
5cafe740ff
update wording on ssl cert error
2015-11-12 14:25:50 -06:00
clint shryock
1b2e068b19
add extra test block
2015-11-12 14:25:50 -06:00
clint shryock
fddafd2b96
providers/aws: Document and validate ELB ssl_cert and protocol requirements
2015-11-12 14:25:50 -06:00
Clint
dcf40661c8
Merge pull request #3863 from hashicorp/b-aws-elb-access-fix
...
providers/aws: Fix issue with removing access_logs from ELB
2015-11-12 14:24:58 -06:00
clint shryock
12d2ae1438
patch TestExpandElasticacheParameters test
2015-11-12 10:45:49 -06:00
clint shryock
e7e52ed98f
Correct test method names so that they are ran
2015-11-12 10:36:22 -06:00
Michael H. Oshita
90d70786ac
Align IAM version number to the current version (2012-10-17)
2015-11-13 00:32:45 +09:00
Radek Simko
15a568c806
Merge pull request #3828 from TimeIncOSS/b-aws-ecs-service-del
...
provider/aws: Treat ecs_service w/ Status==INACTIVE as deleted
2015-11-12 00:01:50 +00:00
Radek Simko
bcd63f62a3
provider/aws: Log removal of INACTIVE ECS service
2015-11-11 23:53:59 +00:00
clint shryock
7f2244183c
providers/aws: Fix issue with removing access_logs from ELB
2015-11-11 15:25:24 -06:00
clint shryock
b51f425dac
replace big retry func with resource.Retry
2015-11-11 10:53:23 -06:00
clint shryock
1ddfd7ced3
provider/aws: Add a retry function to rescue an error in creating Lifecycle Hooks
2015-11-11 10:25:23 -06:00
Clint
caa0baaf87
Merge pull request #3756 from hashicorp/pr-3708
...
providers/aws: Add `access_logs` to ELB resource [GH-3756]
2015-11-11 09:54:43 -06:00
clint shryock
03e7c6cf12
default true for auto_minor_update and allow updates for RDS DB Instance
2015-11-11 09:36:37 -06:00
YuusukeMatsuura
7dd6b779ca
Add AutoMinorVersionUpgrade to RDS.
2015-11-11 09:35:53 -06:00
Radek Simko
ac6efd86ed
Merge pull request #3810 from TimeIncOSS/f-aws-ecs-ephemeral-volumes
...
provider/aws: Support scratch volumes in ecs_task_definition
2015-11-10 23:22:22 +00:00
clint shryock
8c32536f3d
return err if we fail to set access_logs; other cleanups
2015-11-10 16:58:24 -06:00
clint shryock
0a1890c329
Merge branch 'master' into pr-3708
...
* master: (95 commits)
Update CHANGELOG.md
Update CHANGELOG.md
Update CHANGELOG.md
Update CHANGELOG.md
upgrade a warning to error
add some logging around create/update requests for IAM user
Update CHANGELOG.md
Update CHANGELOG.md
Build using `make test` on Travis CI
Update CHANGELOG.md
provider/aws: Fix error format in Kinesis Firehose
Update CHANGELOG.md
Changes to Aws Kinesis Firehouse Docs
Update CHANGELOG.md
modify aws_iam_user_test to correctly check username and path for initial and changed username/path
Update CHANGELOG.md
Update CHANGELOG.md
Prompt for input variables before context validate
Removing the AWS DBInstance Acceptance Test for withoutEngine as this is now part of the checkInstanceAttributes func
Making engine_version be computed in the db_instance provider
...
2015-11-10 16:52:45 -06:00
Clint
68764e6def
Merge pull request #3777 from hashicorp/pr-3751
...
provider/aws: fix panic with SNS topic policy if omitted
2015-11-10 16:45:42 -06:00
Clint
9e93f655e2
Merge pull request #3829 from hashicorp/b-aws-ecs-cluster-read
...
provider/aws: Fix issue that could occur if no ECS Cluster was found for a give name
2015-11-10 16:43:42 -06:00
Clint
dbc008e330
Merge pull request #3574 from hashicorp/b-aws-r53-name-fix
...
provider/aws: Downcase Route 53 record names in statefile
2015-11-10 16:41:40 -06:00
Clint
bea8e0b14f
Merge pull request #3780 from hashicorp/b-aws-elb-source-sg-id
...
providers/aws: Provide source security group id for ELBs
2015-11-10 16:38:55 -06:00
clint shryock
7152674f9b
upgrade a warning to error
2015-11-10 16:27:41 -06:00
clint shryock
b16b634e2b
add some logging around create/update requests for IAM user
2015-11-10 16:19:15 -06:00
Clint
8b1f7498af
Merge pull request #3227 from GrayCoder/master
...
provider/aws Implement username updates properly for aws-sdk-go
2015-11-10 16:17:07 -06:00
James Nugent
06d493cfb6
Merge pull request #3849 from hashicorp/b-fix-kinesis-firehose-vet
...
provider/aws: Fix error format in Kinesis Firehose
2015-11-10 16:55:53 -05:00
Clint
51fd5fafef
Merge pull request #3744 from stack72/f-aws-db-instance
...
provider/aws: Changing the db_instance resource to mark the engine_version as Optional
2015-11-10 15:48:06 -06:00
James Nugent
b48bd30227
provider/aws: Fix error format in Kinesis Firehose
2015-11-10 16:39:23 -05:00
James Nugent
7c50e3ed65
Merge pull request #3833 from stack72/aws-kinesis-firehose
...
provider/aws: Add Kinesis Firehose resource
2015-11-10 16:04:48 -05:00
Clint
5708457610
Merge pull request #3802 from pforman/2911-lc-prefix
...
provider/aws: add name_prefix option to launch config
2015-11-10 14:43:08 -06:00
Patrick Gray
eadee6bd33
modify aws_iam_user_test to correctly check username and path for initial and changed username/path
2015-11-10 15:24:45 -05:00
stack72
6e21cd746e
Removing the AWS DBInstance Acceptance Test for withoutEngine as this is now part of the checkInstanceAttributes func
2015-11-10 17:35:12 +00:00
Paul Stack
e3a66d0928
Making engine_version be computed in the db_instance provider
2015-11-10 17:30:19 +00:00
stack72
1abb0b19bf
Changing the db_instance resource to mark the engine_version as Optional
2015-11-10 17:30:09 +00:00
stack72
d14d891367
Finishing the first pass at Kinesis Firehose. I have only implemented the S3 configuration right now as Terraform doesn't include RedShift support
2015-11-10 16:24:33 +00:00
stack72
5dfa9ac823
Adding the shell for the acceptance tests for the AWS Kinesis Firehose work
2015-11-09 22:44:26 +00:00
stack72
fc983c5505
Initial Create, Read and Delete work for the S3 part of the Kinesis Firehose resource
2015-11-09 22:26:55 +00:00
clint shryock
2694022b4a
Fix a panic that could occur if no ECS Cluster was found for a given cluster name
2015-11-09 14:33:20 -06:00
Radek Simko
9683896480
provider/aws: Treat ecs_service w/ Status==INACTIVE as deleted
...
- fixes https://github.com/hashicorp/terraform/issues/3582
2015-11-09 20:46:05 +01:00
Radek Simko
cf5cfdbff0
provider/aws: Set previously missing ARN in iam_saml_provider
...
- fixes https://github.com/hashicorp/terraform/issues/3820
2015-11-09 20:26:23 +01:00
Radek Simko
63049c0176
provider/aws: Support scratch volumes in ecs_task_definition
2015-11-08 20:31:34 +01:00
Paul Forman
4d640c6528
providers/aws: add name_prefix option to launch config
...
See #2911 .
This adds a `name_prefix` option to `aws_launch_configuration` resources.
When specified, it is used instead of `terraform-` as the prefix for the
launch configuration. It conflicts with `name`, so existing
functionality is unchanged. `name` still sets the name explicitly.
Added an acceptance test, and updated the site documentation.
2015-11-07 01:29:16 -07:00
clint shryock
d6f6a3b3f5
Merge branch 'master' of github.com:hashicorp/terraform
...
* 'master' of github.com:hashicorp/terraform:
Update CHANGELOG.md
Adding S3 support for Lambda provider
2015-11-06 16:55:32 -06:00
clint shryock
ccd37796ec
Merge branch 'pr-3707'
...
* pr-3707:
config updates for ElastiCache test
Removing the instance_type check in the ElastiCache cluster creation. We now allow the error to bubble up to the userr when the wrong instance type is used. The limitation for t2 instance types now allowing snapshotting is also now documented
Making the changes to the snapshotting for Elasticache Redis as per @catsby's findings
Added an extra test for the Elasticache Cluster to show that updates work. Also added some debugging to show that the API returns the Elasticache retention period info
When I was setting the update parameters for the Snapshotting, I didn't update the copy/pasted params
Adding the ability to specify a snapshot window and retention limit for Redis ElastiCache clusters
2015-11-06 16:55:16 -06:00
clint shryock
dbd2a43f46
config updates for ElastiCache test
2015-11-06 16:55:04 -06:00
Rob Zienert
327bd4f9c0
Adding S3 support for Lambda provider
2015-11-06 15:57:18 -06:00
clint shryock
15533dca09
actually use the value
2015-11-06 14:06:50 -06:00
clint shryock
c905bfef22
Test source_security_group_id for ELBs
2015-11-06 11:18:57 -06:00
stack72
350f91ec06
Removing the instance_type check in the ElastiCache cluster creation. We now allow the error to bubble up to the userr when the wrong instance type is used. The limitation for t2 instance types now allowing snapshotting is also now documented
2015-11-06 11:16:51 +00:00
clint shryock
9390674a05
providers/aws: Provide source security group id for ELBs
2015-11-05 16:43:49 -06:00
clint shryock
274781224e
provider/aws: fix panic with SNS topic policy if omitted
2015-11-05 15:25:04 -06:00
Clint
cb52e23226
Merge pull request #3757 from stack72/f-aws-rds-cluster-backup
...
provider/aws: RDS Cluster additions
2015-11-05 14:28:18 -06:00
stack72
6a5e591143
Removing an unnecessary duplicate test for the RDS Cluster Backups
2015-11-05 19:01:41 +00:00
stack72
9cee18b3de
ElastiCache cluster read tolerates removed cluster.
...
Previously it would fail if a Terraform-managed ElastiCache cluster were
deleted outside of Terraform. Now it marks it as deleted in the state so that
Terraform can know it doesn't need to be destroyed, and can potentially
recreate it if asked.
2015-11-05 08:55:35 -08:00
stack72
ca2ea80af3
Making the changes to the snapshotting for Elasticache Redis as per @catsby's findings
2015-11-05 12:23:07 +00:00
stack72
409df4866d
Changes after the feedback from @catsby - these all made perfect sense
2015-11-05 10:25:01 +00:00
stack72
4e485d4254
Fixing the spelling mistakes and adding a test to prove that the Updates to the new properties of RDS Cluster work as expected
2015-11-04 21:06:41 +00:00
stack72
1d0dbc5d19
Adding backup_retention_period, preferred_backup_window and preferred_maintenance_window to RDS Cluster
2015-11-04 19:40:22 +00:00
clint shryock
5f7254eb1a
providers/aws: Add ELB Access Logs (continues #3708 )
...
- continues #3708
- adds some tests
- other fixes I found along the way
2015-11-04 11:58:29 -06:00
Tomas Doran
87dd5c5bd0
Fix panic I see when upgrading to 0.6.6
...
Check if the policy is nil or not before type casting it
2015-11-04 04:23:13 -08:00
clint shryock
2e03a7ebff
go fmt after rebase
2015-11-03 16:30:18 -06:00
Trevor Pounds
4e3d0b5f6c
Fix schema conversion.
2015-11-03 16:29:57 -06:00
Trevor Pounds
91b1d0c23d
Can only set access logs once per ELB.
2015-11-03 16:29:57 -06:00
Trevor Pounds
e8f1f57ead
Fix int64 cast.
2015-11-03 16:29:57 -06:00
Florin Patan
e173b60f10
Changes per feedback
2015-11-03 16:29:57 -06:00
Florin Patan
e390d7ddf2
Add elb access logs setting
2015-11-03 16:29:57 -06:00
stack72
707bfd739a
Added an extra test for the Elasticache Cluster to show that updates work. Also added some debugging to show that the API returns the Elasticache retention period info
2015-11-03 12:35:24 +00:00
Clint
cb8962a6c6
Merge pull request #3710 from stack72/f-aws-asg-generated-name
...
provider/aws: Making the AutoScalingGroup name optional
2015-11-02 16:07:49 -06:00
Clint
6492853e84
Merge pull request #3513 from iJoinSolutions/5873-terraform-snapshot-security-v6.3
...
Provider/aws Apply security group after restoring db_instance from snapshot
2015-11-02 15:06:02 -06:00
stack72
4f05df6cad
When I was setting the update parameters for the Snapshotting, I didn't update the copy/pasted params
2015-11-02 20:57:04 +00:00
Sunil K Chopra
df41f10d1d
tests! yes! (thanks stack72)
2015-11-02 09:37:09 -06:00
Sunil K Chopra
c7b02d9fdb
handling updates
2015-11-02 09:33:46 -06:00
Sunil K Chopra
68c7baa20e
as per advice from stack72 to stick to strings
2015-11-02 09:33:35 -06:00
Sunil K Chopra
0d2007e8bd
as per advice from stack72, simplified
2015-11-02 09:26:25 -06:00
Patrick Gray
8fcc13adbc
update aws_iam_group tests to check proper paths and name
2015-10-31 12:04:54 -04:00
Patrick Gray
6a2d3eaa6b
remove unneeded print function
2015-10-31 10:52:12 -04:00
stack72
69b905fb92
Making the AutoScalingGroup name optiona
2015-10-31 09:24:46 +00:00
stack72
7dd15469a5
Adding the ability to specify a snapshot window and retention limit for Redis ElastiCache clusters
2015-10-31 00:09:20 +00:00
Paul Hinze
5b78a9f635
provider/aws: var name tweak
...
as discussed in #3274 w/ @stack72
2015-10-30 17:50:57 -05:00
stack72
63d7f5993d
Changing the AWS CodeCommit Connection Initiation to use the new session based work
2015-10-30 22:23:28 +00:00
Sunil K Chopra
006cac56a2
added placement group as an option for autoscaling groups
2015-10-30 16:45:19 -05:00
stack72
14604e432e
Added the documentation for the CodeCommit repository
2015-10-30 21:39:16 +00:00
stack72
2ad006ab50
Currently, AWS CodeCommit is only available in us-east-1, therefore we
...
need to error out early if the region is anything other than this
Also added a test that will show that changes get applied on subsequent
runs
2015-10-30 21:39:16 +00:00
stack72
d9fd77c141
Finishing the last of the CodeCommit Repository resource. Also started to add some tests. The trouble for me right now is that CodeCommit is only in US-East-1 so I need to guard against that right now
2015-10-30 21:39:16 +00:00
stack72
89ce6f7c83
Started the work for the AWS CodeCommit Repository resource
...
Starting to add the skeleton for the creation and update of a repository
2015-10-30 21:39:04 +00:00
clint shryock
3f2a0ee743
provider/aws: Refresh SNS Topic updates in event of IAM role failure
...
- encode the json policy to match what we get back from the API
- retry if the IAM resource isn't yet available
- include regression test
2015-10-30 12:09:44 -05:00
Clint
4db8ef4a45
Merge pull request #3529 from hashicorp/b-aws-rds-copy-tags-to-snapshots
...
provider/aws: Add configuration to enable copying RDS tags to final snapshot
2015-10-30 09:09:41 -05:00
Paul Hinze
cadbbbae08
aws: fix build after upstream breaking change
...
see
1a69d06935
2015-10-29 18:52:10 -05:00
clint shryock
ec2d22cf29
update with go fmt
2015-10-29 17:10:44 -05:00
Clint
5c3c1e2327
Merge pull request #3548 from MDL/aws_route
...
provider/aws: add aws_route resource (finish)
2015-10-29 17:06:56 -05:00
Michael Austin
a0322f9b8c
go fmt
2015-10-29 17:55:23 -04:00
Michael Austin
5448e01269
removed extraneous debug code and clarified INFO logging
2015-10-29 17:53:40 -04:00
Paul Hinze
73569dc83c
Merge pull request #3616 from Vlatombe/GH-3615
...
provider/aws: ignore association not exist on route table destroy [GH-3615]
2015-10-29 14:56:16 -05:00
AJ Bahnken
ab273bb2ee
Fixed up measure_latency option in r53 health checks.
...
* Added ignoring of param when Type is CALCULATED
* Added ForceNew param to measure_latency item in schema
* Added check to test
2015-10-29 12:50:02 -07:00
AJ Bahnken
c1bb852390
Added measure_latency option to Route 53 Health Check resource.
...
Related to #3273
2015-10-29 10:28:26 -07:00
Clint
cc0b941ba2
Merge pull request #3685 from stack72/f-aws-s3bucket-arn
...
Adding a computed ARN for the S3 Bucket as per #3666
2015-10-29 11:09:54 -05:00
stack72
8eec0c896f
Adding a computed ARN for the S3 Bucket as per #3666
2015-10-29 13:33:35 +00:00
Clint
cb2ecf5733
Merge pull request #3255 from Runscope/local-kinesis
...
provider/aws: allow local kinesis
2015-10-29 08:24:07 -05:00
Radek Simko
678c7e905a
Merge pull request #3094 from TimeIncOSS/f-aws-cloudtrail
...
provider/aws: Add support for CloudTrail
2015-10-29 07:03:17 +00:00
clint shryock
2cd47ec195
add test for elasticache cluster and topic arn
2015-10-28 14:09:45 -05:00
clint shryock
9aeb04909c
Merge branch 'master' into pr-2836
...
* master: (335 commits)
Update CHANGELOG.md
config: return to the go1.5 generated lang/y.go
Update CHANGELOG.md
Allow cluster name, not only ARN for aws_ecs_service
Update CHANGELOG.md
Add check errors on reading CORS rules
Update CHANGELOG.md
website: docs for null_resource
dag: use hashcodes to as map key to edge sets
Update CHANGELOG.md
Update CHANGELOG.md
Update CHANGELOG.md
Use hc-releases
provider/google: Added scheduling block to compute_instance
Use vendored fastly logo
Use releases for releases
Update CHANGELOG.md
Update CHANGELOG.md
Update vpn.tf
Update CHANGELOG.md
...
2015-10-28 13:20:10 -05:00
Radek Simko
7265bdaaf0
aws: Add acceptance test for aws_cloudtrail
2015-10-28 17:13:14 +00:00
Radek Simko
a618b048cf
aws: Add support for aws_cloudtrail
2015-10-28 17:13:14 +00:00
Radek Simko
91f4be2261
Merge pull request #3668 from TimeIncOSS/b-aws-ecs-cluster-arn
...
provider/aws: Allow cluster name, not only ARN for aws_ecs_service
2015-10-28 16:28:47 +00:00
Radek Simko
0d8d6fde79
Merge pull request #2636 from TimeIncOSS/f-aws-cloudformation
...
provider/aws: Add aws_cloudformation_stack
2015-10-28 16:16:14 +00:00
Radek Simko
784aadd505
Allow cluster name, not only ARN for aws_ecs_service
2015-10-28 15:43:42 +00:00
Clint
5cedd64a15
Merge pull request #3387 from kjmkznr/s3-cors
...
provider/aws: Add CORS settings to S3 bucket
2015-10-28 10:09:44 -05:00
Joshua Semar
31767accac
get profile name even if profile path exists
2015-10-27 21:30:44 -05:00
Kazunori Kojima
122790d32b
Add check errors on reading CORS rules
2015-10-28 09:19:37 +09:00
Clint
3ce656b007
Merge pull request #2890 from pforman/asg-termination
...
Update AWS ASG termination policy code and tests
2015-10-26 16:42:53 -05:00
BSick7
e0aad68ef1
Relying on `ForceNew` for `destination_cidr_block` since it is part of the unique id instead of manually recreating the resource.
2015-10-26 13:45:21 -04:00
BSick7
e4465adca5
Removing usage of awsutil.Prettify.
2015-10-26 13:38:17 -04:00
Vincent Latombe
44e93526a1
provider/aws: ignore association not exist on route table destroy
...
[GH-3615]
2015-10-23 15:03:54 +02:00
Jeff Mitchell
1373a6086b
Use cleanhttp for new http clients
2015-10-22 14:23:59 -04:00
Martin Atkins
dd56b39e0c
Codeploy deployment group app_name instead of application_name.
...
The corresponding resource is called aws_codeploy_app, so for consistency
we'll name the attribute app_name instead of application_name.
2015-10-21 08:34:46 -07:00
Christopher Tiwald
390f226eb5
aws: Add aws_codedeploy_deployment_group tests
2015-10-20 18:05:40 -04:00
Christopher Tiwald
a546a12c2d
aws: Add support for aws_codedeploy_deployment_group resources
2015-10-20 18:05:40 -04:00
Christopher Tiwald
42c077700a
aws: Add acceptance tests for "aws_codedeploy_app" resources.
2015-10-20 18:05:39 -04:00
Christopher Tiwald
e59fb4e6ca
aws: Add support for "aws_codedeploy_app" resources.
2015-10-20 18:05:39 -04:00
clint shryock
953f38c534
lowercase everything in r53 names
2015-10-20 16:36:25 -05:00
clint shryock
d798042475
provider/aws: Downcase Route 53 record names in statefile
2015-10-20 13:32:35 -05:00
Jeff Mitchell
b0ceffc322
Remove usage from dependencies as well. Other dependencies need upstream merging to completely solve this.
2015-10-19 12:06:34 -04:00
BSick7
6a593f9d17
Fixing aws identifiers for aws_route.
...
Fixing basic acceptance test.
Adding warning to website about mixed mode.
Adding exists to aws_route.
Adding acceptance test for changing destination_cidr_block.
2015-10-19 09:16:27 -04:00
gkze
ac0afad6e9
Add aws_route resource
2015-10-19 09:16:26 -04:00
clint shryock
a273b9b93b
provider/aws: Add configuration to copy tags to RDS Snapshots
2015-10-16 11:14:11 -05:00
Michael Austin
53e196eaed
fix vet error
2015-10-15 12:55:33 -04:00
Clint
2f94e575ef
Merge pull request #3300 from Runscope/fix-dynamodb-gsi-bug
...
provider/aws: fix bug with reading GSIs from dynamodb
2015-10-15 10:04:33 -05:00
Martin Atkins
3708e752af
Merge pull request #3138 from mastor/master
...
Support tags for aws_db_subnet_group
2015-10-14 19:36:45 -07:00
Martin Atkins
1300f165b1
Merge pull request #3311 from caarlos0/allow-non-persistent-spot-requests
...
Allow non-persistent spot requests
2015-10-14 19:34:31 -07:00
Clint
6eadfcae21
Merge pull request #3500 from stack72/aws-dynamodb-table-arn
...
provider/aws: DynamoDB Table ARN
2015-10-14 16:25:49 -05:00
Clint Shryock
6ab339b62d
unset website_endpoint, website_domain if website part is removed
2015-10-14 14:49:33 -05:00
Clint Shryock
f9c577aa2a
update requirement for peer test
2015-10-14 13:55:37 -05:00
Clint Shryock
4fb7ae6600
rename test so it can be ran in isolation
2015-10-14 13:55:19 -05:00
stack72
7af484c8f6
Changing the DynamoDb Create to do a Read at the end
2015-10-14 19:16:58 +01:00
Michael Austin
1ff02d9f31
Merge commit '0c2f189d083e49b49747ce323702db1861cb2cbf' into 5873-terraform-snapshot-security-v6.3
2015-10-14 13:56:27 -04:00
Michael Austin
32d04797f9
update security group after restore from snapshot
2015-10-14 13:23:11 -04:00
stack72
6d2fee9c28
After the DynamoDB table is created, the ARN wasn't being set
2015-10-14 18:06:09 +01:00
Paul Hinze
5f6c03f515
Merge pull request #3191 from hashicorp/f-asg-wait-config
...
provider/aws: configurable capacity waiting duration
2015-10-14 10:34:55 -05:00
Garrett Heel
9c2725e0a5
provider/aws: allow local kinesis
2015-10-13 14:29:50 -07:00
Garrett Heel
127c1aef61
provider/aws: fix bug with reading GSIs from dynamodb
2015-10-13 14:14:58 -07:00
Radek Simko
7088a0096e
provider/aws: Add acceptance tests for aws_cloudformation_stack
2015-10-13 22:55:55 +02:00
Radek Simko
4dfbbe3074
provider/aws: Add implementation for aws_cloudformation_stack
2015-10-13 22:55:55 +02:00
Clint
c0c81dc78f
Merge pull request #3490 from hashicorp/b-aws-vpc-peering-checks
...
provider/aws: Additional error checking to VPC Peering conn
2015-10-13 12:55:45 -05:00
stack72
9f01efae6f
Adding a test to make sure that the diffGlacierVaultTags func works as expected
2015-10-13 15:01:58 +01:00
stack72
2a7b8be9f3
Gofmt of the aws glacier vault resource
2015-10-13 14:58:29 +01:00
stack72
5266db31e2
Adding the ability to manage a glacier vault
2015-10-13 14:58:29 +01:00
Clint Shryock
60b7037cdd
provider/aws: Additional error checking to VPC Peering conn
2015-10-13 06:20:46 -05:00
Paul Hinze
a811a72f11
provider/aws: fix force_delete on ASGs
...
The `ForceDelete` parameter was getting sent to the upstream API call,
but only after we had already finished draining instances from
Terraform, so it was a moot point by then.
This fixes that by skipping the drain when force_delete is true, and it
also simplifies the field config a bit:
* set a default of false to simplify the logic
* remove `ForceNew` since there's no need to replace the resource to
flip this value
* pull a detail comment from code into the docs
2015-10-12 17:10:01 -05:00
Clint
8df9d706fb
Merge pull request #3488 from hashicorp/b-aws-sgrule-migrate-test
...
update migration test
2015-10-12 16:34:44 -05:00
Clint
a1f2b824cc
Merge pull request #3470 from hashicorp/b-aws-key-pair-key-sig
...
provider/aws: Migrate KeyPair to version 1
2015-10-12 16:33:24 -05:00
Clint Shryock
c44e9d10a4
update migration test
2015-10-12 16:26:49 -05:00
Clint Shryock
31b8f04bda
provider/aws: Migrate KeyPair to version 1
2015-10-12 16:04:51 -05:00
Clint Shryock
9f3a17e9b4
update sg rule ids
2015-10-12 15:51:47 -05:00
Clint Shryock
03aac9f42b
Expand on an error case with more descriptive error
2015-10-12 15:51:21 -05:00
Clint Shryock
e0bb04b822
update expeded hash for migration test
2015-10-12 15:51:21 -05:00
Clint Shryock
d3c5c0d85f
provider/aws: Update Security Group Rules to Version 2
2015-10-12 15:51:21 -05:00
Clint Shryock
810d088279
Fix whitespace formatting with go fmt
2015-10-12 15:50:04 -05:00
Paul Hinze
61721387b3
Merge pull request #3457 from TimeIncOSS/f-aws-ec2-placement-groups
...
provider/aws: Add support for EC2 Placement Group
2015-10-12 14:24:12 -05:00
Clint
8152f5822e
Merge pull request #3265 from stack72/aws-s3-bucket-update
...
provider/aws: Adding some other simple S3 Bucket Object (Optional) Inputs
2015-10-12 14:23:29 -05:00
Martin Atkins
51630aea26
Merge #3397 : Tags for AWS Kinesis Streams
2015-10-12 09:38:09 -07:00
Garrett Heel
36f78cc1dc
provider/aws: Allow tags for kinesis streams
2015-10-12 09:00:56 -07:00
stack72
3809cb5b88
Fixing the merge conflicts on the s3 bucket object resource after another PR had been merged
2015-10-12 16:51:27 +01:00
Martin Atkins
091d3fe206
Merge #3351 : aws_autoscaling_lifecycle_hook resource
2015-10-11 22:52:00 -07:00
Jonathan Leibiusky
57c80a0d46
Add support for aws autoscaling lifecycle hooks.
2015-10-11 20:42:40 -03:00
Martin Atkins
b7247026e9
Merge #3228 : aws_directory_service_directory resource
2015-10-10 18:09:17 -07:00
Martin Atkins
a888cd6f62
Merge pull request #3200 from zpatrick/master
...
Optional "content" argument for "s3_bucket_object"
2015-10-10 11:26:38 -07:00
Radek Simko
59e5be2fe8
provider/aws: Add acceptance tests for aws_directory_service_directory
2015-10-08 17:06:39 -07:00
Radek Simko
a66ac7e751
provider/aws: Add aws_directory_service_directory resource
2015-10-08 17:06:39 -07:00
stack72
080e08fb73
Adding Computed to the Content-Type of S3 Bucket Object. Regardless of whether you set a content-type, AWS will always set a content-type
2015-10-08 23:14:34 +01:00
Radek Simko
f30c647a26
provider/aws: Add acceptance test for aws_placement_group
2015-10-08 12:44:47 -07:00
Radek Simko
110be439e2
provider/aws: Add aws_placement_group
2015-10-08 12:44:14 -07:00
stack72
b3010e1412
Because of the lack of Update, S3 Bucket Object needs to force new when changing the params
2015-10-08 18:50:30 +01:00
stack72
8e2163c963
Removing the S3 Bucket Object Update method. This was removed in master but seems to be broken in my branch
2015-10-08 18:44:59 +01:00
stack72
0a5387db90
Adding some examples of the S3 bucket object parameters as well as checking for an empty string in the new S3 bucket object params
2015-10-08 17:24:33 +01:00
Clint
4962ef159b
Merge pull request #3036 from hashicorp/b-aws-eip-computed-instance
...
provider/aws: Allow Instance to be computed in EIPs
2015-10-08 09:38:26 -05:00
Clint Shryock
c68d9c4ae0
provider/aws: Allow Instance to be computed in EIPs
2015-10-08 09:14:04 -05:00
Clint
e7b8c01399
Merge pull request #3452 from pmoust/cs-remove-extra-parentheses
...
removed extra parentheses
2015-10-08 09:13:01 -05:00
Radek Simko
8364827a36
Merge pull request #3443 from TimeIncOSS/f-aws-es
...
provider/aws: Add support for Elastic Search
2015-10-08 07:06:52 -07:00
Panagiotis Moustafellos
e4845f75cc
removed extra parentheses
2015-10-08 15:48:04 +03:00
stack72
6ac07e970a
Removing the numbers from the dbParamGroup name random string. There is an edge case that this could actually trigger a failure due to not allowing to start with a number
2015-10-08 12:50:17 +01:00
stack72
29630547f4
Fixing the broken build in the aws_db_parameter_group tests
2015-10-08 12:41:07 +01:00
stack72
bd78dfd885
Refactoring the multiple tests into a simple test case with multiple inputs as per feedback
2015-10-08 12:15:59 +01:00
stack72
97188d6583
Adding a RandomString generator to test for db_param_group_name being too long
2015-10-08 10:05:50 +01:00
stack72
cc56431b97
Added a set of tests for the AWS DBParamGroup Name
2015-10-08 09:39:11 +01:00
Radek Simko
96dc244cb3
Merge pull request #3279 from stack72/aws-db_param_group_lowercase
...
provider/aws: db_parameter_group name validation
2015-10-07 17:43:51 -07:00
Radek Simko
7cb395c8b6
Merge pull request #3296 from stack72/new_validateFunc_spike
...
provider/aws: New Validation Function Tests for ELB Name
2015-10-07 17:39:29 -07:00
Radek Simko
4ca3853824
Merge pull request #3277 from stack72/aws-app-cookieness-doc-update
...
docs: Updating the app_cookie_stickiness_policy docs to reflect needing a L…
2015-10-07 17:18:55 -07:00
Radek Simko
c221da9aeb
provider/aws: Add acceptance test for aws_elasticsearch_domain
2015-10-07 16:57:46 -07:00
Radek Simko
2b9f4f895e
provider/aws: Add support for aws_elasticsearch_domain
2015-10-07 16:57:46 -07:00
Radek Simko
f9efede852
gofmt files from recently merged PRs
2015-10-07 13:35:06 -07:00
Clint
e26d3a11ca
Merge pull request #2935 from hashicorp/f-aws-rds-cluster
...
provider/aws: RDS Cluster, Cluster Instance (Aurora)
2015-10-07 13:16:36 -05:00
Paul Hinze
7905b91b8a
Merge pull request #3313 from sarguru/iam_validateaccount_fixcrash
...
Fix ValidateAccountId for IAM Instance Profiles
2015-10-07 12:18:38 -05:00
Clint Shryock
71b1cb1289
go fmt after rebase
2015-10-07 11:27:24 -05:00
Clint Shryock
70841285c2
Update RDS Cluster for final snapshot, update tests/docs
2015-10-07 11:26:23 -05:00
Clint Shryock
77d8f87308
add publicly_accessible, update docs
2015-10-07 11:26:23 -05:00
Clint Shryock
5739c4869c
provider/aws: Docs for RDS Cluster, Cluster Instance
2015-10-07 11:26:23 -05:00
Martin Atkins
6c71504073
Various AWS OpsWorks layer resource types.
...
A "Layer" is a particular service that forms part of the infrastructure for
a set of applications. Some layers are application servers and others are
pure infrastructure, like MySQL servers or load balancers.
Although the AWS API only has one type called "Layer", it actually has
a number of different "soft" types that each have slightly different
validation rules and extra properties that are packed into the Attributes
map.
To make the validation rule differences explicit in Terraform, and to make
the Terraform structure more closely resemble the OpsWorks UI than its
API, we use a separate resource type per layer type, with the common code
factored out into a shared struct type.
2015-10-05 22:47:44 -07:00
Martin Atkins
4ce3d089fb
aws_opswork_stack resource type.
...
"Stack" is the root concept in OpsWorks, and acts as a container for a number
of different "layers" that each provide some service for an application.
A stack isn't very interesting on its own, but it needs to be created before
any layers can be created.
2015-10-05 22:47:44 -07:00
Martin Atkins
8e79f0cb3a
Prepare for adding OpsWorks resources.
...
Here we add an OpsWorks client instance to the central client bundle and
establish a new documentation section, both of which will be fleshed out in
subsequent commits that add some OpsWorks resources.
2015-10-05 22:47:44 -07:00
Martin Atkins
5c30573a63
AWS config forced to us-east-1 in variable, not inline.
...
There are several AWS services that are global in scope and thus need to
be accessed via the us-east-1 endpoints, so we'll make the us-east-1
variant of the config available as a variable we can reuse between multiple
clients as we add support for new services.
2015-10-05 22:47:44 -07:00
Patrick Gray
9ab5596458
will not swallow error on aws iam group update if we get NoSuchEntity error
2015-10-04 21:28:28 -04:00
Radek Simko
167b44770f
provider/aws: Add efs_mount_target
2015-10-03 19:35:06 -07:00
Radek Simko
cd96b8a7fc
provider/aws: Add efs_file_system
2015-10-03 19:35:06 -07:00
Martin Atkins
3fde993978
Merge #3336 : Remove local multierror package.
...
Instead, use ``github.com/hashicorp/go-multierror``.
2015-10-03 17:53:36 -07:00
Martin Atkins
b8706a24d4
Merge #3156 : aws_iam_saml_provider resource
2015-10-03 17:29:25 -07:00
Martin Atkins
6e4b445b58
Merge #3288 : Disallow Update func when no updates are possible.
2015-10-03 17:15:04 -07:00
Martin Atkins
1896d71d59
Merge #3235 : elasticache cluster name to lowercase
2015-10-03 15:53:54 -07:00
Radek Simko
9cbcb9a438
Remove no-op Updates from resource schemas
2015-10-03 14:29:19 -07:00
Radek Simko
1335131daa
aws: Only fail on missing TF_ACC_ID if we're actually running acc. tests
2015-10-03 09:25:53 -07:00
Clint Shryock
d0f734af76
remove TODO
2015-10-02 16:50:26 -05:00
Clint Shryock
7aa14da9c7
provider/aws: Renable TestAccAWSRouteTable_vpcPeering with additional config
2015-10-02 16:47:59 -05:00