terraform
terraform copied to clipboard
3rd alternate fix to mirror directory bug
Fixes Bug reported in https://github.com/hashicorp/terraform/issues/31442
This PR is a 3rd alternate implementation of https://github.com/hashicorp/terraform/pull/31452 & https://github.com/hashicorp/terraform/pull/31443 where we preserve backward compatibility with the previous code's behavior.
Thanks for this submission!