terraform/builtin/providers/rancher
Raphaël Pinson f56fb80c75 Rancher: reset Id for unknown resources (#11543)
When switching from one Rancher server to another, we want Terraform
to recreate Rancher resources. This currently leads to ugly `EOF` errors.

This patch resets resource Ids when they can't be found in the Rancher API.
2017-01-31 13:04:59 +00:00
..
config.go [Provider] Rancher (#9173) 2016-12-05 15:29:41 +00:00
import_rancher_environment_test.go [Provider] Rancher (#9173) 2016-12-05 15:29:41 +00:00
import_rancher_registration_token_test.go [Provider] Rancher (#9173) 2016-12-05 15:29:41 +00:00
import_rancher_registry_credential_test.go [Provider] Rancher (#9173) 2016-12-05 15:29:41 +00:00
import_rancher_registry_test.go [Provider] Rancher (#9173) 2016-12-05 15:29:41 +00:00
import_rancher_stack_test.go [Provider] Rancher (#9173) 2016-12-05 15:29:41 +00:00
provider.go [Provider] Rancher (#9173) 2016-12-05 15:29:41 +00:00
provider_test.go [Provider] Rancher (#9173) 2016-12-05 15:29:41 +00:00
resource_rancher_environment.go Rancher: reset Id for unknown resources (#11543) 2017-01-31 13:04:59 +00:00
resource_rancher_environment_test.go [Provider] Rancher (#9173) 2016-12-05 15:29:41 +00:00
resource_rancher_registration_token.go Rancher: reset Id for unknown resources (#11543) 2017-01-31 13:04:59 +00:00
resource_rancher_registration_token_test.go [Provider] Rancher (#9173) 2016-12-05 15:29:41 +00:00
resource_rancher_registry.go Rancher: reset Id for unknown resources (#11543) 2017-01-31 13:04:59 +00:00
resource_rancher_registry_credential.go Rancher: reset Id for unknown resources (#11543) 2017-01-31 13:04:59 +00:00
resource_rancher_registry_credential_test.go [Provider] Rancher (#9173) 2016-12-05 15:29:41 +00:00
resource_rancher_registry_test.go [Provider] Rancher (#9173) 2016-12-05 15:29:41 +00:00
resource_rancher_stack.go Rancher: reset Id for unknown resources (#11543) 2017-01-31 13:04:59 +00:00
resource_rancher_stack_test.go [Provider] Rancher (#9173) 2016-12-05 15:29:41 +00:00
util.go [Provider] Rancher (#9173) 2016-12-05 15:29:41 +00:00