Skip to content

Terraform destroy fails and complains about module outputs #31975

@nikita-golovin

Description

@nikita-golovin

Terraform Version

Terraform v1.3.2 

P.S. also reproducible on v1.3.1, but works on v1.2.3

Terraform Configuration Files

I could not make a small reproduction scenario, but here is terraform destroy output and state file (rerun after state has no more resources in it): https://gist.github.com/nikita-golovin/c9a48bae6066d830213405f532ab4325

Debug Output

https://gist.github.com/nikita-golovin/c9a48bae6066d830213405f532ab4325

Expected Behavior

Terraform destroys infrastructure and DOES NOT validate module outputs

Actual Behavior

Terraform destroys infrastructure, BUT DOES validates module outputs and returns error

Steps to Reproduce

terraform destroy

Additional Context

No response

References

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions