Radek Simko
f33afb7e4e
provider/aws: Support IPSets with 0 descriptors
2017-04-24 21:53:25 +02:00
Radek Simko
01aa3fd76a
provider/aws: Fix WAF IPSet descriptors removal on update
2017-04-24 21:53:25 +02:00
Radek Simko
cda84b1674
provider/aws: Expose invoke ARN from Lambda function (for APIG) ( #13890 )
2017-04-24 20:47:11 +02:00
Radek Simko
3c2a40a192
provider/aws: Expose execution ARN + invoke URL for APIG deployment ( #13889 )
2017-04-24 20:43:56 +02:00
Paul Stack
1d350ed5ef
provider/aws: Adding support for ipv6 to aws_subnets needs migration ( #13876 )
...
Fixes : #13829
When IPv6 support was added to subnets, we added a new parameter that
had a default value. This means that users are experiencing unexpected
changes in their configuration
We need a schema migration in place to make sure this isn't the case for
the users who have not upgraded yet
```
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/23 10:36:43 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAWSSubnetMigrateState -timeout 120m
=== RUN TestAWSSubnetMigrateState
2017/04/23 10:37:27 [INFO] Found AWS Subnet State v0; migrating to v1
2017/04/23 10:37:27 [DEBUG] Attributes before migration: map[string]string{}
2017/04/23 10:37:27 [DEBUG] Attributes after migration: map[string]string{"assign_ipv6_address_on_creation":"false"}
--- PASS: TestAWSSubnetMigrateState (0.00s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 0.021s
```
2017-04-24 18:20:32 +01:00
clint shryock
fe15c68aa9
provider/aws: Fix-up TestAccAWSIAMInstanceProfile_missingRoleThrowsError
...
A change in the error produced by the resource was causing the regex to
fail
2017-04-24 10:24:34 -05:00
Jake Champlin
78bc9ed09d
Merge pull request #13861 from hashicorp/pr-10594
...
provider/aws: Adds aws_network_interface_attachment resource
2017-04-24 09:12:38 -04:00
Tom Elliff
18c6c3b47b
Validate WAF metric names
...
WAF metric names must be alphanumeric only.
See http://docs.aws.amazon.com/waf/latest/developerguide/web-acl-rules.html#web-acl-rules-creating and
http://docs.aws.amazon.com/waf/latest/developerguide/web-acl-working-with.html#web-acl-creating
2017-04-23 21:46:39 +01:00
Brandon Clodius
399cf72414
Fixes issue for cross account iam role with aws_lambda_permission ( #13865 )
2017-04-23 11:44:07 +02:00
Radek Simko
00c6958704
aws: Separate acc test for R53 zone w/ trailing dot
2017-04-23 11:25:52 +02:00
Ryan Eschinger
e2ee211b7b
provider/aws: fix aws_route53_zone force_destroy behavior ( #12421 )
...
The conditional to ignore the deletion of NS and SOA records can fail to
match if the hostedZoneName already ends with a ".". When that happens,
terraform tries to delete those records which is not supported by AWS
and results in a 400 bad request. This fixes the conditional so that it
will work whether or not hostedZoneName ends with a ".".
fixes #12407
2017-04-23 11:24:37 +02:00
Kit Ewbank
ff9af4c90b
Add tagging support to the 'aws_lambda_function' resource. ( #13873 )
2017-04-23 04:51:20 +03:00
Jake Champlin
5f8b6091de
provider/aws: Adds aws_network_interface_attachment resource
...
```
$ make testacc TEST=./builtin/providers/aws TESTARGS="-run=TestAccAWSNetworkInterfaceAttachment_basic"
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/21 15:24:58 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSNetworkInterfaceAttachment_basic -timeout 120m
=== RUN TestAccAWSNetworkInterfaceAttachment_basic
--- PASS: TestAccAWSNetworkInterfaceAttachment_basic (273.14s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 273.145s
```
2017-04-21 15:42:18 -04:00
Jake Champlin
9ef947b0c3
Merge remote-tracking branch 'origin' into pr-10594
2017-04-21 15:37:39 -04:00
Alex Meng
7cc4018577
provider/aws: Fix security group rule import ( #13630 )
2017-04-21 11:38:41 -05:00
Jake Champlin
022d0cd14f
Merge pull request #10590 from pielu/aws/feature/r-net-iface-ips-count
...
provider/aws: Exercise SecondaryPrivateIpAddressCount for network interface
2017-04-21 10:25:44 -04:00
Paul Stack
72a14ef2bb
provider/aws: Add IPv6 outputs to aws_subnet datasource ( #13841 )
...
Fixes : #13595
```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccDataSourceAwsSubnet'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/21 13:52:43 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccDataSourceAwsSubnet -timeout 120m
=== RUN TestAccDataSourceAwsSubnetIDs
--- PASS: TestAccDataSourceAwsSubnetIDs (81.05s)
=== RUN TestAccDataSourceAwsSubnet
--- PASS: TestAccDataSourceAwsSubnet (57.48s)
=== RUN TestAccDataSourceAwsSubnetIpv6ByIpv6Filter
--- PASS: TestAccDataSourceAwsSubnetIpv6ByIpv6Filter (82.63s)
=== RUN TestAccDataSourceAwsSubnetIpv6ByIpv6CidrBlock
--- PASS: TestAccDataSourceAwsSubnetIpv6ByIpv6CidrBlock (82.43s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 303.625s
```
2017-04-21 16:54:55 +03:00
Joshua Spence
2aac8fb8fc
Add `aws_ami_ids` and `aws_ebs_snapshot_ids` resources ( #13844 )
...
Fixes #12081 . Adds new `aws_ami_ids` and `aws_ebs_snapshot_ids` resources.
2017-04-21 16:37:26 +03:00
Paul Stack
0aad5f2c43
provider/aws: Add replica_source_db to the aws_db_instance datasource ( #13842 )
...
Fixes : #13471
2017-04-21 14:23:48 +03:00
terraformbot
352a5c753f
provider/aws: Changing aws_opsworks_instance should ForceNew ( #13839 )
...
Fixes : #13838
```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSOpsworksInstance_UpdateHostNameForceNew'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/21 13:11:08 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSOpsworksInstance_UpdateHostNameForceNew -timeout 120m
=== RUN TestAccAWSOpsworksInstance_UpdateHostNameForceNew
--- PASS: TestAccAWSOpsworksInstance_UpdateHostNameForceNew (114.27s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 114.294s
```
2017-04-21 13:21:09 +03:00
Gauthier Wallet
80d940d154
provider/aws: Added Cognito Identity Pool ( #13783 )
2017-04-21 12:53:48 +03:00
Joshua Spence
f3b5a883b7
Add `bucket_prefix` to `aws_s3_bucket` ( #13274 )
...
Adds a `bucket_prefix` parameter to the `aws_s3_bucket` resource.
2017-04-20 23:28:40 +03:00
Dominik-K
565f0a4e0f
`roles` deprecated in docs & code error message ( #13622 )
2017-04-20 23:02:48 +03:00
Chris Broglie
3f0934bd4e
provider/aws: Add aws_kinesis_stream data source ( #13562 )
...
This fixes #13521
2017-04-20 22:13:39 +03:00
Daniel Kats
8a70108612
fix a word in aws_iam_role_policy error msg ( #13794 )
2017-04-20 06:48:58 +01:00
clint shryock
7f3c8e4765
move this test to new region
2017-04-19 17:20:44 -05:00
Radek Simko
1b841e77de
provider/aws: Run all AWSConfig acc tests sequentially ( #13658 )
2017-04-18 17:59:44 +03:00
Jake Champlin
5b0ea5abff
Merge pull request #13715 from hashicorp/b-update-spot-datafeed-test
...
provider/aws: Run AWS Spot Datafeed Subscription tests in serial
2017-04-18 10:46:26 -04:00
KOJIMA Kazunori
47d255f943
provider/aws: Add aws_kms_alias datasource ( #13669 )
2017-04-18 15:29:14 +03:00
clint shryock
8939ac2256
provider/aws: randomize some more test
2017-04-17 16:02:01 -05:00
clint shryock
a6565555cb
provider/aws: Update Lambda tests for randomness
2017-04-17 15:18:19 -05:00
Jake Champlin
20b0d9f060
provider/aws: Run AWS Spot Datafeed Subscription tests in serial
2017-04-17 11:35:56 -04:00
=
6f9570b114
Fixes TestAccAWSAutoscalingLifecycleHook_omitDefaultResult
2017-04-17 09:12:42 -06:00
Paul Stack
b3cc7ea4cf
provider/aws: Add support for aws_dms_replication_task available states ( #13697 )
2017-04-17 16:00:41 +03:00
Paul Hinze
193c0d80ad
provider/aws: Validate GovCloud KMS ARNs
...
Fixes validation errors in GovCloud when passing a KMS ARN for
`kms_key_id` in `s3_bucket_object` and `db_instance`.
The region is `us-gov-west-1` which breaks the regexp. Just added the
optional `gov-` in the right place.
2017-04-16 22:35:09 -07:00
Joshua Spence
8d5fdeae57
Add `name_prefix` support to `aws_cloudwatch_log_group` ( #13273 )
2017-04-17 01:50:52 +03:00
Kit Ewbank
da7041f4be
Remove aws_network_acl_rule if not found. ( #13608 )
2017-04-17 01:39:42 +03:00
Kit Ewbank
5c3438e394
Remove aws_vpc_dhcp_options if not found. ( #13610 )
2017-04-17 01:31:43 +03:00
Radek Simko
9504682831
aws: Increase default number of retries to 25 ( #13673 )
2017-04-15 07:56:41 +01:00
Sander van Harmelen
10c6c873ed
provider/aws: add an option to skip getting the EC2 platforms ( #13672 )
...
* Add an option to skip getting the EC2 platforms
Even through this call fails silently in case of an error (usually lack of rights), it’s still a pretty extensive call.
In our region (eu-west-1) this can take up to 3 seconds. And since we have a system that involves doing much planning with the option `-refresh=false` these additional 3 seconds are really very annoying and totally not needed.
So being able to choose to skip them would make our lives a little better 😉
* Update the docs accordingly
2017-04-14 23:41:59 +02:00
Radek Simko
43d5b82f30
provider/aws: Use mutex & retry for WAF change operations ( #13656 )
2017-04-14 21:12:04 +01:00
clint shryock
46809cc2cc
provider/aws: randomize ECS name
2017-04-14 14:13:09 -05:00
clint shryock
41baf7d811
provider/aws: Wait for snapshotting in delete of ElastiCache cluster
2017-04-14 12:54:38 -05:00
Jake Champlin
ac379e19a7
Merge pull request #13279 from joshuaspence/db_param_group_name
...
Fix DB parameter group name property
2017-04-14 12:16:18 -04:00
Matthew Frahry
c394e5d653
Update resource_aws_route53_zone_association_test.go
2017-04-13 16:44:19 -06:00
clint shryock
89edd2859c
fix go fmt errors, my bad
2017-04-13 15:24:18 -05:00
clint shryock
923587a0c9
provider/aws: Randomize and fix Dynamo DB test table names
2017-04-13 15:17:48 -05:00
Clint
baaf6f5de6
provider/aws: Fix some acc tests (more, again) ( #13639 )
...
* add check destroy to subnet data source tests
* provider/aws: Fix TestAccAWSElasticacheCluster_snapshotsWithUpdates by waiting for snapshots
* provider/aws: Fix TestAccAWSRDSCluster_takeFinalSnapshot
* provider/aws: Fix TestAccAWSKinesisFirehoseDeliveryStream_ElasticsearchConfigUpdates by specifying instance type
2017-04-13 15:00:41 -05:00
Clint
9ef9501e65
provider/aws: Fix EMR Bootstrap Action Ordering ( #13580 )
...
* provider/aws: Add failing test for EMR Bootstrap Actions
* aws_emr_cluster: Fix bootstrap action parameter ordering
* provider/aws: Fix EMR Bootstrap arguments
* provider/aws: Args needs to be ForceNew, because we can't update them
2017-04-12 14:19:38 -05:00
Jake Champlin
e676a72d3b
Merge pull request #13577 from hashicorp/f-add-codecommit-import
...
provider/aws: Add import to codecommit_repository
2017-04-12 14:51:52 -04:00