mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-07-03 08:42:39 +00:00
![]() In order to fix the failing test in the preceding commit when optional params are changed from their default "computed" values. These weren't working well with `HttpHealthCheck.Patch()` because it was attempting to set all unspecified params to Go's type defaults (eg. 0 for int64) which the API rejected. Changing the call to `HttpHealthCheck.Update()` seemed to fix this but it still didn't allow you to reset a param back to it's default by no longer specifying it. Settings defaults like this, which match the Terraform docs, seems like the best all round solution. Includes two additional tests for the acceptance tests which verify the params are really getting set correctly. |
||
---|---|---|
test-fixtures | ||
config_test.go | ||
config.go | ||
disk_type.go | ||
dns_change.go | ||
image.go | ||
operation.go | ||
provider_test.go | ||
provider.go | ||
resource_compute_address_test.go | ||
resource_compute_address.go | ||
resource_compute_disk_test.go | ||
resource_compute_disk.go | ||
resource_compute_firewall_test.go | ||
resource_compute_firewall.go | ||
resource_compute_forwarding_rule_test.go | ||
resource_compute_forwarding_rule.go | ||
resource_compute_http_health_check_test.go | ||
resource_compute_http_health_check.go | ||
resource_compute_instance_migrate_test.go | ||
resource_compute_instance_migrate.go | ||
resource_compute_instance_template_test.go | ||
resource_compute_instance_template.go | ||
resource_compute_instance_test.go | ||
resource_compute_instance.go | ||
resource_compute_network_test.go | ||
resource_compute_network.go | ||
resource_compute_route_test.go | ||
resource_compute_route.go | ||
resource_compute_target_pool_test.go | ||
resource_compute_target_pool.go | ||
resource_dns_managed_zone_test.go | ||
resource_dns_managed_zone.go | ||
resource_dns_record_set_test.go | ||
resource_dns_record_set.go | ||
service_scope.go |