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
import_rancher_environment_test.go
import_rancher_registration_token_test.go
import_rancher_registry_credential_test.go
import_rancher_registry_test.go
import_rancher_stack_test.go
provider.go
provider_test.go
resource_rancher_environment.go Rancher: reset Id for unknown resources (#11543) 2017-01-31 13:04:59 +00:00
resource_rancher_environment_test.go
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
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
resource_rancher_registry_test.go
resource_rancher_stack.go Rancher: reset Id for unknown resources (#11543) 2017-01-31 13:04:59 +00:00
resource_rancher_stack_test.go
util.go