terraform/builtin/providers
Paul Stack 9cb1dffb4d provider/aws: Allow `source_ids` in `aws_db_event_subscription` to be Updatable (#7892)
* provider/aws: Allow `source_ids` in `aws_db_event_subscription` to be
Updatable

Fixes #7809

This commit adds support for `source_ids` to be updated rather than
forcing new each time. Unfortunately, it must range over the difference
in the source_ids and add and remove them 1 at a time. AWS does not
support batch updating source_ids

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSDBEventSubscription_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
TF_ACC=1 go test ./builtin/providers/aws -v
-run=TestAccAWSDBEventSubscription_ -timeout 120m
=== RUN   TestAccAWSDBEventSubscription_basicUpdate
--- PASS: TestAccAWSDBEventSubscription_basicUpdate (1277.87s)
=== RUN   TestAccAWSDBEventSubscription_withSourceIds
--- PASS: TestAccAWSDBEventSubscription_withSourceIds (1012.96s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/aws
2290.844s
```

* Update resource_aws_db_event_subscription.go
2016-08-16 20:51:38 +01:00
..
archive providers/archive: remove test files from provider and update gitignore 2016-08-15 11:56:22 -07:00
atlas Add VersionString 2016-07-21 16:43:49 -04:00
aws provider/aws: Allow `source_ids` in `aws_db_event_subscription` to be Updatable (#7892) 2016-08-16 20:51:38 +01:00
azure provider/azure: add custom_data argument for azure_instance resource (#8158) 2016-08-14 11:02:49 +01:00
azurerm providers/azurerm: more reliable testing of ID being available for 2016-08-16 09:49:54 -07:00
chef
clc
cloudflare
cloudstack Add project parameter to additional resources (#7828) 2016-07-27 17:30:18 +02:00
cobbler
consul #7013 add tls config support to consul provider (#7015) 2016-08-12 12:22:41 +10:00
datadog
digitalocean provider/digitalocean: Enforce Lowercase on IPV6 Addresses (#7652) 2016-08-15 15:52:48 +01:00
dme
dnsimple
docker provider/docker: Added docker_registry_image data source (#7000) 2016-07-26 16:18:38 +01:00
dyn
fastly Added tests. 2016-08-09 14:42:19 +02:00
github
google Add support for using GCP Image Family names. (#8083) 2016-08-15 22:29:58 +01:00
grafana
heroku
influxdb Improve influxdb provider (#7333) 2016-08-05 16:27:03 +10:00
librato
logentries provider/logentries: Implementing logentries provider (#7067) 2016-07-12 14:14:39 +01:00
mailgun
mysql provider/mysql: user and grant resources (#7656) 2016-07-26 19:19:39 +01:00
null
openstack Merge pull request #8181 from fatmcgav/openstack_add_valuespec_subnet_v2_provider 2016-08-16 13:25:59 -06:00
packet provider/packet: Restructure the Packet Volume test to no longer rely on environment variables 2016-08-15 08:38:43 +01:00
postgresql
powerdns provider/powerdns: Add support for PowerDNS 4 API (#7819) 2016-07-28 17:01:06 +01:00
random
rundeck
scaleway provider/scaleway: Expose IPv6 support, improve documentation (#7784) 2016-07-25 12:49:09 +01:00
softlayer
statuscake
template Fix improper wait group usage in test 2016-08-04 11:20:11 -04:00
terraform provider/template: convert resources to data sources 2016-07-08 17:11:17 +01:00
test terraform: another set of ignore_changes fixes 2016-07-08 16:48:23 -05:00
tls
triton Merge branch 'b-triton-dot-in-tags' of https://github.com/zeroae/terraform into zeroae-b-triton-dot-in-tags 2016-07-12 15:06:47 -06:00
ultradns
vcd
vsphere Standardizing datastore references to use builting Path func (#8075) 2016-08-16 08:58:22 +01:00