terraform/builtin/providers
Paul Stack 338aab9169 provider/aws: Stop `aws_instance` `source_dest_check` triggering an API call on each (#8450)
terraform run

Fixes #3550

The simple fix here was to check if the Resource was new (to set the
value the first time) then check it has changed each time

I was able to see from the TF log the following:

```
Config

resource "aws_vpc" "foo" {
	cidr_block = "10.10.0.0/16"
}

resource "aws_subnet" "foo" {
	cidr_block = "10.10.1.0/24"
	vpc_id = "${aws_vpc.foo.id}"
}

resource "aws_instance" "foo" {
	ami = "ami-4fccb37f"
	instance_type = "m1.small"
	subnet_id = "${aws_subnet.foo.id}"
	source_dest_check = false
        disable_api_termination = true
}
```

No longer caused any Modifying source_dest_check entries in the LOG
2016-08-25 22:11:01 +01:00
..
archive provider/archiver fix test output path breaking other tests (#8291) 2016-08-18 18:11:19 +01:00
atlas Add VersionString 2016-07-21 16:43:49 -04:00
aws provider/aws: Stop `aws_instance` `source_dest_check` triggering an API call on each (#8450) 2016-08-25 22:11:01 +01:00
azure provider/azure: add custom_data argument for azure_instance resource (#8158) 2016-08-14 11:02:49 +01:00
azurerm Update CHANGELOG.md 2016-08-23 14:38:48 +02:00
chef
clc
cloudflare
cloudstack Add project parameter to additional resources (#7828) 2016-07-27 17:30:18 +02:00
cobbler
consul Adds consul_prepared_query resource (#7474) 2016-08-18 08:46:30 +01:00
datadog Add Import support for provider-datadog (#8324) 2016-08-22 05:55:26 +02:00
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 Fix acceptance test image reversion (#8349) 2016-08-25 14:39:03 +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 mysql_user pre-5.7.6 compat (GH-8230) 2016-08-17 14:38:33 +02:00
null
openstack Merge pull request #8172 from jtopjian/openstack-volumeattach-fix 2016-08-24 09:36:23 -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
test
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