Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpc error: code = Unavailable desc = transport is closing #298

Closed
bigmule opened this issue Apr 5, 2020 · 1 comment
Closed

rpc error: code = Unavailable desc = transport is closing #298

bigmule opened this issue Apr 5, 2020 · 1 comment

Comments

@bigmule
Copy link

bigmule commented Apr 5, 2020

Hi there,

Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.

Terraform Version

Terraform version: 0.12.24
Go runtime version: go1.13.8
provider.huaweicloud: version = "~> 1.13"

Affected Resource(s)

Please list the resources :

  • huaweicloud_vpc_v1

Same error when running terraform plan and terraform apply

Terraform Configuration Files

provider "huaweicloud" {
  token = ""
  tenant_name = ""
  region = ""
  auth_url = ""
}

data "huaweicloud_vpc_v1" "vpc" {
  id = "eb30e056-c39c-466a-9e2f-a75abbc1a23c"
}

Panic Output

If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the crash.log.

Expected Behavior

Should execute without errors

Actual Behavior

panic: runtime error: invalid memory address or nil pointer dereference

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. terraform apply

crash.log

@ghost ghost added bug crash labels Apr 5, 2020
@ShiChangkuo
Copy link
Collaborator

@bigmule Thanks for raising, the crash is caused by nil vpc client. Checking the configuration of provider will be better.

BTW, we will add some judgement to avoid crashing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants