I am trying to import ibm-cos-bucket and cos-instance from IBM cloud. I am able to import cos-instance however, getting error while importing ibm-cos-bucket.
Error: rpc error: code = Unavailable desc = transport is closing
*[ERROR] : eval: *terraform.EvalRefresh, err: rpc error: code = Unavailable desc = transport is closing [ERROR] : eval: terraform.EvalSequence, err: rpc error: code = Unavailable desc = transport is closing [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing" [DEBUG] plugin: plugin exited panic: runtime error: index out of range [1] with length 1
Terraform crashed!!!
here is sample resource block:-
resource "ibm_cos_bucket" "mybucket" {}
Please help me in this regards. Thanks in advance!
This seems to be a fault/bug of IBM provider. Simillar issue for aws is here.
Thus, you can report the problem by making the issue on IBM provider's github: