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 env variable to skip listing remote versions before installation #371

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

guraslan
Copy link

@guraslan guraslan commented Dec 15, 2022

This is a genuine use case where you're using artifactory virtual repository like structure. Artifactory acts as a proxy for Hashicorp repository and lists only the versions downloaded beforehand. This causes tfenv to fail stating that the version doesn't exist in the remote repository when you want to download a version not in the cache.

This is a genuine use case where you're using artifactory virtual repository
like structure. Artifactory acts as a proxy between and list only the versions
downloaded beforehand. This causes tfenv to fail stating that the version
doesn't exist in the remote repository.
Copy link
Contributor

@OJFord OJFord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - but would need documenting in the readme env vars section.

(Note I'm not a maintainer, just looking 🙂)

Copy link
Collaborator

@Zordrak Zordrak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed with @OJFord , no problem with the approach, but needs associated documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants