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

Terraform Crashes when using github_user or github_team data source where attributes are missing #15227

Closed
mootpt opened this issue Jun 9, 2017 · 3 comments

Comments

@mootpt
Copy link
Contributor

mootpt commented Jun 9, 2017

Terraform Crashes when using github_user data source where attributes are missing

Terraform Version

Terraform v0.10.0-dev (d587b68)

Affected Resource(s)

  • github_user
  • github_team

If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.

Terraform Configuration Files

provider "github" {
  token        = "03423423423423exampletoken"
  organization = "testorg"
  base_url     = "https://git.luolix.toppany.com/api/v3/"
}

data "github_user" "testuser" {
  username = "testuser"
}

Debug Output

!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!

Terraform crashed! This is always indicative of a bug within Terraform.
A crash log has been placed at "crash.log" relative to your current
working directory. It would be immensely helpful if you could please
report the crash with Terraform[1] so that we can fix this.

When reporting bugs, please include your terraform version. That
information is available on the first line of crash.log. You can also
get it by running 'terraform --version' on the command line.

[1]: https://github.com/hashicorp/terraform/issues

!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!

Panic Output

https://gist.github.com/mootpt/b0d5233fbf2c3985ac09fac20f75bc90

Expected Behavior

Should load user and team data source

Actual Behavior

fails to load user and/or team data source when attributes are missing

Steps to Reproduce

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

  1. terraform apply

Important Factoids

this is fixed in #15212

@mootpt
Copy link
Contributor Author

mootpt commented Jun 10, 2017

Moving to provider

@mootpt
Copy link
Contributor Author

mootpt commented Jun 12, 2017

@mootpt mootpt closed this as completed Jun 13, 2017
@ghost
Copy link

ghost commented Apr 9, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants