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

bugfix: updating parsing of terraform registry #10

Conversation

oraab
Copy link
Contributor

@oraab oraab commented Jun 19, 2022

Updating the parsing of Terraform registry (https://releases.hashicorp.com/terraform) to take care of this error:

ERROR[2022-06-19T18:25:04+03:00]/home/runner/work/simple-tfswitch/simple-tfswitch/pkg/list_versions.go:45 github.com/terraform-tools/simple-tfswitch/pkg.GetTFList() Cannot get list from mirror: https://releases.hashicorp.com/terraform
ERROR[2022-06-19T18:25:04+03:00]/home/runner/work/simple-tfswitch/simple-tfswitch/pkg/install.go:192 github.com/terraform-tools/simple-tfswitch/pkg.installFromConstraint() No version found to match constraint. Follow the README.md instructions for setup. https://github.com/terraform-tools/simple-tfswitch/blob/main/README.md

tested locally by creating build and running it on Terraform code of another repository.

Copy link
Collaborator

@jb-abbadie jb-abbadie left a comment

Choose a reason for hiding this comment

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

LGTM

@jb-abbadie jb-abbadie merged commit 4b4f031 into terraform-tools:main Jun 19, 2022
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.

2 participants