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

Add support for TERRAFORM_BINARY_NAME environment variable for use with OpenTofu #68

Open
RFHold opened this issue May 13, 2024 · 1 comment
Labels
question Further information is requested

Comments

@RFHold
Copy link

RFHold commented May 13, 2024

CDKTF has an environment variable TERRAFORM_BINARY_NAME documented here. It can be used to supply "tofu" to use the OpenTofu fork of Terraform.

The two are largely compatible with each other and I believe it should be as simple as replacing the executable you have defined in your state code.

@idoavrah
Copy link
Owner

Hi Robert,

Thank you for opening this issue. Just to clarify what you're saying, are you suggesting I add the new environment variable as an alternative to issuing the executable via the -e flag, or am I missing something else? I'm not a CDKTF or opentufo user myself, and I don't see the direct connection to TFTUI.

@idoavrah idoavrah added the question Further information is requested label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants