terraform/builtin/providers/google
Paul Hinze 64f0897c82 core: avoid diff mismatch on NewRemoved fields during -/+
fixes #1508

In a DESTROY/CREATE scenario, the plan diff will be run against the
state of the old instance, while the apply diff will be run against an
empty state (because the state is cleared when the destroy node does its
thing.)

For complex attributes, this can result in keys that seem to disappear
between the two diffs, when in reality everything is working just fine.

Same() needs to take into account this scenario by analyzing NewRemoved
and treating as "Same" a diff that does indeed have that key removed.
2015-04-14 17:23:30 -05:00
..
test-fixtures providers/google: first pass 2014-08-25 11:48:20 -07:00
config.go Update Google API import to point to the new location. 2015-03-18 17:10:39 +00:00
config_test.go providers/google: remove secrets file 2015-01-28 15:47:49 -06:00
disk_type.go Update Google API import to point to the new location. 2015-03-18 17:10:39 +00:00
image.go fmt 2015-02-20 10:22:26 -08:00
operation.go Update Google API import to point to the new location. 2015-03-18 17:10:39 +00:00
provider.go Merge branch 'master' into oauth2 2015-02-11 00:37:13 -05:00
provider_test.go providers/google: fix instance creation 2015-01-28 15:50:56 -06:00
resource_compute_address.go Update Google API import to point to the new location. 2015-03-18 17:10:39 +00:00
resource_compute_address_test.go Update Google API import to point to the new location. 2015-03-18 17:10:39 +00:00
resource_compute_disk.go Update Google API import to point to the new location. 2015-03-18 17:10:39 +00:00
resource_compute_disk_test.go Update Google API import to point to the new location. 2015-03-18 17:10:39 +00:00
resource_compute_firewall.go Update Google API import to point to the new location. 2015-03-18 17:10:39 +00:00
resource_compute_firewall_test.go Update Google API import to point to the new location. 2015-03-18 17:10:39 +00:00
resource_compute_forwarding_rule.go Update Google API import to point to the new location. 2015-03-18 17:10:39 +00:00
resource_compute_forwarding_rule_test.go fmt 2015-02-20 10:22:26 -08:00
resource_compute_http_health_check.go Update Google API import to point to the new location. 2015-03-18 17:10:39 +00:00
resource_compute_http_health_check_test.go Fix a number of healthcheck bugs 2015-02-07 19:03:18 -05:00
resource_compute_instance.go Avoid 'source' being undefined in legacy network Read 2015-04-09 13:29:59 -04:00
resource_compute_instance_template.go Merge pull request #1239 from BashtonLtd/gce_fix_false_bools 2015-03-26 10:20:52 -07:00
resource_compute_instance_template_test.go Merge pull request #1238 from BashtonLtd/gce_update_instance_template_disk_tests 2015-03-26 10:20:29 -07:00
resource_compute_instance_test.go core: avoid diff mismatch on NewRemoved fields during -/+ 2015-04-14 17:23:30 -05:00
resource_compute_network.go Update Google API import to point to the new location. 2015-03-18 17:10:39 +00:00
resource_compute_network_test.go Update Google API import to point to the new location. 2015-03-18 17:10:39 +00:00
resource_compute_route.go helper/schema: ensure ForceNew set when Update is not 2015-04-03 09:57:30 -05:00
resource_compute_route_test.go Update Google API import to point to the new location. 2015-03-18 17:10:39 +00:00
resource_compute_target_pool.go Update Google API import to point to the new location. 2015-03-18 17:10:39 +00:00
resource_compute_target_pool_test.go Multiple gcp improvements and new resources 2015-01-30 10:32:35 -06:00
service_scope.go Support service accounts on GCE instances 2015-01-02 01:25:19 -05:00