hashicorp / terraform

Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
https://www.terraform.io/
Other
42.73k stars 9.56k forks source link

Terraform 1.6.0 crash through GitHub Actions #33988

Closed dms1981 closed 1 year ago

dms1981 commented 1 year ago

Terraform Version

1.6.0

Terraform Configuration Files

https://github.com/ministryofjustice/modernisation-platform/tree/refactor/data-platform-apps-and-tools-vpc/terraform/environments/data-platform-apps-and-tools

Debug Output

https://gist.github.com/dms1981/1b3adb300817fb7fa8fa67b9f933898b

Expected Behavior

Terraform should complete a plan successfully. Running a plan with the Terraform version pinned to 1.5.7 completes successfully

Actual Behavior

Terraform crashes.

Steps to Reproduce

Code committed to branch on GitHub. GitHub Action picks up change and runs Terraform through the following approximate steps:

  1. terraform init
  2. terraform workspace select name-of-workspace
  3. terraform plan

Additional Context

As noted, this code is successfully planned and applied with a version constraint of 1.5.7. A full TF_LOG=trace can be supplied on request.

References

No response

kmoe commented 1 year ago

Duplicate of https://github.com/hashicorp/terraform/issues/33977

github-actions[bot] commented 11 months ago

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.