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

Hi there,

Our team has recently adopted Terraform Cloud. In addition to managing infrastructure with TC, we’re trying to also manage TC with TC. To do this, we have a workspace for TC management. We set up another workspace for GitHub teams using our TC management workspace, but then decided to delete it thinking we could simply rebuild it by re-applying our TC management workspace. When we queue a plan in our TC management workspace, we get a the following error:

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

As well as,

!!!!!!!!!!!!!!!!!!!!!!!!!!! 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.

SECURITY WARNING: the "crash.log" file that was created may contain 
sensitive information that must be redacted before it is safe to share 
on the issue tracker.

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

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

Has anybody else run into this? Any idea of why we might be having this issue?

All the best,
E