clint shryock
b656579211
provider/aws: Randomize lb and policy name in LB policy test
2017-01-04 16:02:02 -06:00
clint shryock
db1c1bec72
add missing runtime param to test
2017-01-04 14:58:47 -06:00
clint shryock
8d2e61e88d
provider/aws: More randomization so our tests can run in parallel
2016-12-15 16:33:10 -06:00
Clint
8371d3faab
Merge pull request #10763 from Ninir/d-aws-source-ami-owners
...
provider/aws: Fixed the data source ami enforcing non-nil values
2016-12-15 14:35:29 -06:00
Ninir
a8a37b8f84
provider/aws: Fixed the data source ami enforcing non-nil values
2016-12-15 19:18:57 +01:00
Clint
89c328aed4
Merge pull request #10733 from hashicorp/f-remove-deprecated-param-group
...
provider/aws: Removed deprecated parameter group from RDS Cluster
2016-12-14 16:32:36 -06:00
clint shryock
70b1f4e708
provider/aws: Bump EMR Cluster create timeout
2016-12-14 10:25:45 -06:00
clint shryock
4007fd2bc8
provider/aws: Removed deprecated parameter group from RDS Cluster
2016-12-14 10:08:11 -06:00
James Nugent
a160d1cd69
provider/aws: Support eu-west-2 ( #10470 )
...
* provider/aws: Support eu-west-2
This is the new London region - we don't have access yet but several
enquiries have come from customers who do.
* provider/aws: Support eu-west-2 region
* Update hosted_zones.go
2016-12-14 09:33:58 +00:00
Kit Ewbank
c7bf4fc8d3
Correct error message for 'aws_caller_identity' acceptance test. ( #10712 )
2016-12-14 09:33:06 +00:00
Clint
56b0e87f5e
Merge pull request #10704 from Ninir/r-aws-sns_topic-protocols
...
provider/aws: Improved the SNS topic subscription protocols validation
2016-12-13 16:54:21 -06:00
Ninir
99be2d3280
provider/aws: Improved the SNS topic subscription protocols validation
2016-12-13 17:54:52 +01:00
Mathieu Herbert
3239138099
provider/aws: data source for AWS Hosted Zone ( #9766 )
...
* provider/aws: data source for AWS Hosted Zone
* add caller_reference, resource_record_set_count fields, manage private zone and trailing dot
* fix fmt
* update documentation, use string function in hostedZoneNamewq
* add vpc_id support
* add tags support
* add documentation for hosted zone data source tags support
2016-12-13 16:22:26 +00:00
Clint
b2136beff2
Merge pull request #10702 from hashicorp/pr-10694
...
provider/aws: Save `iam_access_key` secret to state if no PGP key given (supersedes #10694 )
2016-12-13 10:11:07 -06:00
clint shryock
72885c6736
provider/aws: Save secret to state in iam_access_key if pgp key not found
2016-12-13 09:32:04 -06:00
Ryan Hoegg
73213793ca
provider/aws: Add aws_eip data source ( #9833 )
...
* provider/aws: Add the aws_eip data source
* Document the aws_eip data source on the website
* provider/aws: support query by public_ip for aws_eip data source
2016-12-13 12:09:21 +00:00
Kit Ewbank
d3633398a7
provider/aws Add aws_vpc_endpoint_service data source ( #10261 )
...
* provider/aws Add aws_vpc_endpoint_services data source.
* Rename 'aws_vpc_endpoint_services' to 'aws_vpc_endpoint_service'.
2016-12-13 10:40:35 +00:00
Kazuma Watanabe
0134315148
enable DeleteOnTermination ( #9922 )
2016-12-13 10:38:05 +00:00
Mickaël Canévet
3ab5c630bd
Don't remove secret, just deprecate it
2016-12-13 11:31:32 +01:00
Paul Stack
1113ed5fc7
provider/aws: Support MFA delete for s3 bucket versioning ( #10020 )
...
Fixes #7902
```
% make testacc TEST=./builtin/providers/aws
% TESTARGS='-run=TestAccAWSS3Bucket_'
% ✹
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/12/12 12:11:45 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSS3Bucket_
-timeout 120m
=== RUN TestAccAWSS3Bucket_importBasic
--- PASS: TestAccAWSS3Bucket_importBasic (55.74s)
=== RUN TestAccAWSS3Bucket_importWithPolicy
--- PASS: TestAccAWSS3Bucket_importWithPolicy (63.34s)
=== RUN TestAccAWSS3Bucket_Notification
--- PASS: TestAccAWSS3Bucket_Notification (165.15s)
=== RUN TestAccAWSS3Bucket_NotificationWithoutFilter
--- PASS: TestAccAWSS3Bucket_NotificationWithoutFilter (63.22s)
=== RUN TestAccAWSS3Bucket_basic
--- PASS: TestAccAWSS3Bucket_basic (47.82s)
=== RUN TestAccAWSS3Bucket_region
--- PASS: TestAccAWSS3Bucket_region (18.88s)
=== RUN TestAccAWSS3Bucket_acceleration
--- PASS: TestAccAWSS3Bucket_acceleration (34.56s)
=== RUN TestAccAWSS3Bucket_RequestPayer
--- PASS: TestAccAWSS3Bucket_RequestPayer (90.26s)
=== RUN TestAccAWSS3Bucket_Policy
--- PASS: TestAccAWSS3Bucket_Policy (120.25s)
=== RUN TestAccAWSS3Bucket_UpdateAcl
--- PASS: TestAccAWSS3Bucket_UpdateAcl (87.51s)
=== RUN TestAccAWSS3Bucket_Website_Simple
--- PASS: TestAccAWSS3Bucket_Website_Simple (138.38s)
=== RUN TestAccAWSS3Bucket_WebsiteRedirect
--- PASS: TestAccAWSS3Bucket_WebsiteRedirect (139.44s)
=== RUN TestAccAWSS3Bucket_WebsiteRoutingRules
--- PASS: TestAccAWSS3Bucket_WebsiteRoutingRules (97.82s)
=== RUN TestAccAWSS3Bucket_shouldFailNotFound
--- PASS: TestAccAWSS3Bucket_shouldFailNotFound (26.84s)
=== RUN TestAccAWSS3Bucket_Versioning
--- PASS: TestAccAWSS3Bucket_Versioning (131.89s)
=== RUN TestAccAWSS3Bucket_Cors
--- PASS: TestAccAWSS3Bucket_Cors (92.71s)
=== RUN TestAccAWSS3Bucket_Logging
--- PASS: TestAccAWSS3Bucket_Logging (86.46s)
=== RUN TestAccAWSS3Bucket_Lifecycle
--- PASS: TestAccAWSS3Bucket_Lifecycle (132.70s)
=== RUN TestAccAWSS3Bucket_Replication
--- PASS: TestAccAWSS3Bucket_Replication (122.70s)
=== RUN TestAccAWSS3Bucket_ReplicationExpectVersioningValidationError
--- PASS: TestAccAWSS3Bucket_ReplicationExpectVersioningValidationError (39.04s)
```
2016-12-12 22:34:03 +00:00
Ninir
16660a4f60
provider/aws: Fixed deletion of aws_api_gateway_base_path_mapping with empty path ( #10177 )
2016-12-12 22:09:25 +00:00
Ninir
fc5b05ebc1
provider/aws: Added SQS FIFO queues ( #10614 )
2016-12-12 17:40:59 +00:00
Ninir
048a932abd
provider/aws: Added Lambda function guard when needed attributes are not set ( #10663 )
2016-12-12 15:12:56 +00:00
Jan Schumann
a01a93067f
tests for #5907 ( #10669 )
2016-12-12 14:42:04 +00:00
Ninir
3f5e12ff7e
provider/aws: Set the DBName when restoring from a snapshot ( #10664 )
2016-12-12 12:56:56 +00:00
Paul Stack
c69e325a1a
provider/aws: Add support for AWS Lightsail Domain ( #10637 )
...
```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSLightsailDomain_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/12/09 15:19:58 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v
-run=TestAccAWSLightsailDomain_ -timeout 120m
=== RUN TestAccAWSLightsailDomain_basic
--- PASS: TestAccAWSLightsailDomain_basic (16.28s)
=== RUN TestAccAWSLightsailDomain_disappears
--- PASS: TestAccAWSLightsailDomain_disappears (12.71s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws29.015s
```
2016-12-09 17:56:48 +00:00
Clint
e705cd9a93
Merge pull request #10635 from dougneal/import_vpc_peerconn_accepter_fix
...
provider/aws: aws_vpc_peering_connection: import fix
2016-12-09 11:50:55 -06:00
Tom Wilkie
dd39296d6c
Allow import of aws_security_groups with more than one source_security_group_id rule ( #9477 )
...
* Allow import of aws_security_groups with more than one source_security_group_id rule
* Add acceptable test for security group with multiple source rules.
2016-12-09 15:50:51 +00:00
Clint
5f765d9de6
Merge pull request #10624 from hashicorp/pr-9891
...
provider/aws: Add aws_snapshot_create_volume_permission resource (contd. #9891 )
2016-12-09 08:43:18 -06:00
Clint
0766074289
Merge pull request #10583 from hashicorp/f-lightsail-key-pair
...
provider/aws: Add Lightsail Key Pair resource
2016-12-09 08:26:00 -06:00
Doug Neal
24baa38408
provider/aws: aws_vpc_peering_connection: import fix
...
When importing an `aws_vpc_peering_connection`, the code assumes that
the account under Terraform control is the initiator (requester) of the
VPC peering request. This holds true when the peering connection is
between two VPCs in the same account, or when the peering connection has
been initiated from the controlled account to another.
However, when the peering connection has been initiated from a foreign
account towards the account under management, importing the peering
connection into the statefile results in values of `peer_vpc_id` and
`vpc_id` being the opposite way round to what they should be, and in the
`peer_owner_id` being set to the managed account's ID rather than the
foreign account's ID.
This patch checks the Accepter and Requester Owner IDs against the AWS
connection's reported owner ID, and reverses the mapping if it is
determined that the VPC peering connection is owned by the foreign
account.
2016-12-09 12:05:06 +00:00
Eddy Hernandez
7e737dac62
Add support for AWS CA Central 1 Region ( #10618 )
...
* Add support for AWS CA Central 1 Region
* additional metadata for ca-central-1
* add elb metadata for ca-central-1
2016-12-09 10:35:07 +01:00
clint shryock
42057045ff
refactor the test to use caller_identity data source, and new ebs_snapshot resource
2016-12-08 16:43:03 -06:00
Jeremy Asher
185ee439da
add wait after AWS snapshot attr modification
...
This adds up to a 5 minute wait after issuing an add or remove request
to adjust a snapshot's createVolumePermission attribute.
2016-12-08 16:12:25 -06:00
Jeremy Asher
f20d1c3caa
WIP aws_snapshot_create_volume_permission tests
2016-12-08 16:12:24 -06:00
Jeremy Asher
7216185f0d
implement aws_snapshot_create_volume_permission
...
This adds the new resource aws_snapshot_create_volume_permission which
manages the createVolumePermission attribute of snapshots. This allows
granting an AWS account permissions to create a volume from a particular
snapshot. This is often required to allow another account to copy a
private AMI.
2016-12-08 16:12:23 -06:00
clint shryock
97ac4bde16
implement name_prefix
2016-12-08 14:08:45 -06:00
clint shryock
1e8e83fa6a
provider/aws: Encrypt aws_iam_access_key.secret with pgp
...
optionally encrypt the iam access key secret with a pgp key
2016-12-08 11:08:05 -06:00
Doug Neal
195b041cd5
Validate `effect` in aws_iam_policy_document data source ( #10608 )
...
AWS allows only the case-sensitive strings `Allow` and `Deny` to appear
in the `Effect` fields of IAM policy documents. Catch deviations from
this, including mis-casing, before hitting the API and generating an
error (the error is a generic 400 and doesn't indicate what part of the
policy doc is invalid).
2016-12-08 16:16:40 +01:00
Ninir
29f8af16a1
provider/aws: Added S3 Bucket replication ( #10552 )
2016-12-08 11:59:13 +01:00
Timon Wong
80afc6759b
provider/aws: Add "no_device" support to ephemeral block devices ( #10547 )
...
Fixes #8455 , #5390
This add a new `no_device` attribute to `ephemeral_block_device` block,
which allows users omit ephemeral devices from AMI's predefined block
device mappings, which is useful for EBS-only instance types.
2016-12-08 11:03:51 +01:00
Ninir
5e3477664d
provider/aws: Forces the api gateway domain name certificates to recreate the resource ( #10588 )
2016-12-07 22:51:44 +01:00
Ninir
4b25837dd0
provider/aws: FIxed the api_gw_domain_name replace operation ( #10179 )
2016-12-07 21:47:20 +01:00
clint shryock
86bb969087
provider/aws: add aws_lightsail_key_pair
2016-12-07 11:13:47 -06:00
Andras Ferencz-Szabo
53ebbed8df
Service role is not updated on AWS for a CodeDeploy deployment group ( #9866 )
...
Service role is not updated on AWS for a CodeDeploy deployment group
2016-12-07 13:34:58 +01:00
Raphael Randschau
2b711f77c8
feat/aws: add iam_server_certificate data source ( #10558 )
...
useful if you have an automatic process creating certs for you, e.g. let's
lambda
2016-12-07 11:40:53 +01:00
James Nugent
3177fc0765
provider/aws: Extract helper/encryption library
...
This commit extracts the GPG code used for aws_iam_user_login_profile
into a library that can be reused for other resources, and updates the
call sites appropriately.
2016-12-06 14:24:21 -06:00
Clint
f8f4634858
Merge pull request #10492 from Ninir/lambda_env_removal
...
provider/aws: Fixed Lambda environment removal
2016-12-05 14:33:11 -06:00
Jan Schumann
9e293def6a
provider/aws: Add opsworks rds db resource ( #10294 )
...
* add rds db for opsworks
* switched to stack in vpc
* implement update method
* add docs
* implement and document force new resource behavior
* implement retry for update and delete
* add test that forces new resource
2016-12-05 16:14:15 +00:00
Clint
e477658832
Merge pull request #10473 from hashicorp/f-aws-lightsail-instance
...
provider/aws: Add Lightsail Instance
2016-12-05 08:39:17 -06:00