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

Variables in overriden modules cause "value for module.redacted.local.redacted was requested before it was provided" crash #35019

Closed
david1437 opened this issue Apr 17, 2024 · 1 comment · Fixed by #35030
Assignees
Labels
bug confirmed a Terraform Core team member has reproduced this issue new new issue not yet triaged terraform test v1.8 Issues (primarily bugs) reported against v1.8 releases

Comments

@david1437
Copy link

Terraform Version

Terraform v1.8.1
on linux_amd64
+ provider registry.terraform.io/hashicorp/aws v5.45.0
+ provider registry.terraform.io/hashicorp/random v3.6.1

Terraform Configuration Files

https://github.com/david1437/terraform-override-module-bug-report

Debug Output

https://gist.github.com/david1437/233812625b369caecac02a21305181dc

Expected Behavior

The module should be overridden and just return specified output

Actual Behavior

terraform test crashes

Steps to Reproduce

terraform init
terraform test

Additional Context

No response

References

No response

@david1437 david1437 added bug new new issue not yet triaged labels Apr 17, 2024
@apparentlymart apparentlymart added the v1.8 Issues (primarily bugs) reported against v1.8 releases label Apr 17, 2024
@liamcervante liamcervante added the confirmed a Terraform Core team member has reproduced this issue label Apr 18, 2024
@liamcervante liamcervante self-assigned this Apr 18, 2024
@crw
Copy link
Collaborator

crw commented Apr 18, 2024

Thanks for filing this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug confirmed a Terraform Core team member has reproduced this issue new new issue not yet triaged terraform test v1.8 Issues (primarily bugs) reported against v1.8 releases
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants