-
Notifications
You must be signed in to change notification settings - Fork 55
Description
Terraform CLI and Provider Versions
v2.3.1
Use Cases or Problem Statement
As part of the upgrade to Go 1.19, a workaround was required in order to maintain the current allowed behaviour of using executables that are in the current directory. This has been explicitly prevented with changes to the os/exec package in Go 1.19.
This workaround will be removed in a later version of this provider but prior to that, a warning should be issued to alert practitioners of an impending change in behaviour.
Proposal
Issue a warning when the external provider is executing a program in the current directory. This will require that SkipFunc and more helpful errors for Terraform versions during testing is implemented to allow skipping of Terraform version 0.14 in the tests because TF 0.14 does not write to state if a warning is issued.
How much impact is this issue causing?
Low
Additional Information
- Go 1.19 os/exec Error on Executable in Current Directory #151
- SkipFunc and more helpful errors for Terraform versions during testing terraform-plugin-testing#68
- Updating to Go 1.19
Code of Conduct
- I agree to follow this project's Code of Conduct