Closed ankitjhingan closed 4 months ago
Hi @ankitjhingan, thanks for filing this!
I think this a duplicate of either https://github.com/hashicorp/terraform/issues/35097 or https://github.com/hashicorp/terraform/issues/35019. Are you able to upgrade to v1.8.3 or later and try again? I think this will have been fixed in later versions.
Thanks!
I will close this as a duplicate. Reply here and we can reopen if upgrading doesn't fix this crash for you.
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.
I want to implement a unit test (plan) on the main module that further calls an external submodule where I just want to mock the returned output values using overrides from the external submodule without making changes in my real code
Terraform Version
Terraform Configuration Files
trying to override the output of a module with additional dummy attribute in the map object module/managed-node-group/tests/module_override.tftest.hcl
Expected Behavior
it should return the output of the target module with the additonal dummy map of object
along with the successful plan output
Actual Behavior
terraform test --verbose tests/module_override.tftest.hcl... in progress
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Terraform crashed! This is always indicative of a bug within Terraform. Please report the crash with Terraform1 so that we can fix this.
When reporting bugs, please include your terraform version, the stack trace shown below, and any additional information which may help replicate the issue.
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Steps to Reproduce
terraform init terraform test
Additional Context
here is the folder structure
here is the caller module eks_managed_node_group, that calls the submodule `
Managed Node Group