hashicorp / terraform-cdk

Define infrastructure resources using programming constructs and provision them using HashiCorp Terraform
https://www.terraform.io/cdktf
Mozilla Public License 2.0
4.88k stars 455 forks source link

fix: use 'go env GOROOT' when GOROOT env is missing #3745

Closed icholy closed 1 month ago

icholy commented 1 month ago

Description

This change removes the need for explicitly setting the GOROOT environment variable. Recent versions of Go will output the default env values when using go env NAME.

Checklist

github-actions[bot] commented 1 day ago

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.