Skip to content

Add warning for removal of work around for executables in current directory #197

@bendbennett

Description

@bendbennett

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

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions