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

Data source 'ibm_is_subnet' causes Terraform crash when subnet not found #2058

Closed
jaywcarman opened this issue Nov 21, 2020 · 0 comments · Fixed by #2176
Closed

Data source 'ibm_is_subnet' causes Terraform crash when subnet not found #2058

jaywcarman opened this issue Nov 21, 2020 · 0 comments · Fixed by #2176
Labels
service/VPC Infrastructure Issues related to the VPC Infrastructure

Comments

@jaywcarman
Copy link
Contributor

Terraform Version

Terraform v0.12.20

  • provider.ibm v1.14.0

Affected Resource(s)

  • ibm_is_subnet

Terraform Configuration Files

provider "ibm" {
    version          = ">= 1.14.0"
    generation       = "2"
    region           = "us-south"
}
data ibm_is_subnet "thissubnetdoesnotexist" {
  name = "this_subnet_does_not_exist"
}

Debug Output

https://gist.github.com/jaywcarman/5219f64e5248bfcc2d2953e1cfe1e783

Panic Output

https://gist.github.com/jaywcarman/5b94252823caa3a25a4c7957b822dd30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/VPC Infrastructure Issues related to the VPC Infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants