This commit fixes a panic when trying to import a serverless cluster through
terraform. We were originally reading from clusterObj.Config.Serverless, but
after https://github.com/cockroachdb/terraform-provider-cockroach/pull/108, we end up checking on plan.ServerlessConfig, which is incorrect.
Fixes https://github.com/cockroachdb/terraform-provider-cockroach/issues/131. Regression from https://github.com/cockroachdb/terraform-provider-cockroach/pull/108.
This commit fixes a panic when trying to import a serverless cluster through terraform. We were originally reading from
clusterObj.Config.Serverless
, but after https://github.com/cockroachdb/terraform-provider-cockroach/pull/108, we end up checking onplan.ServerlessConfig
, which is incorrect.