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

[BUG]Exporter will not work in machines without Go installed #185

Open
1 task done
vipinvkmenon opened this issue Nov 18, 2024 · 2 comments
Open
1 task done

[BUG]Exporter will not work in machines without Go installed #185

vipinvkmenon opened this issue Nov 18, 2024 · 2 comments
Labels
bug Something isn't working needs-triage Issue needs to be triaged

Comments

@vipinvkmenon
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

What version of the Terraform exporter are you using?

0.1.0-beta

What version of the Terraform CLI are you using?

1.8.0

What type of issue are you facing

bug report

Describe the bug

On Systems that do not have go installed, the CLI will exit with error as it will not be able to execute the go mod command:

🚀 Creation of resource list started ...

⣾  collecting resources
2024/11/18 19:15:08 read doc failed for data-sources, btp_subaccount: could not find docs for data-sources btp_subaccount

As this error is not handled the propagated error is the read doc failed error.

Expected Behavior

The binary ideally should not need go installed as a prerequisite.

Steps To Reproduce

No response

User's Role Collections

No response

Add screenshots to help explain your problem

No response

Additional context

No response

@vipinvkmenon vipinvkmenon added bug Something isn't working needs-triage Issue needs to be triaged labels Nov 18, 2024
@lechnerc77
Copy link
Member

Isn't this the same error that was reported here: #182 ?

@vipinvkmenon
Copy link
Member Author

vipinvkmenon commented Nov 19, 2024

While the error is the same, the main reason for creating this bug was to discuss an alternative approach to the current go mod download method to acquire the documents make sense? (For E.G using alternative like go-github) as this reduces the user's dependency on having to have go installed on their system. (We can always keep go installation as a dependency).

As a side note, the error here is the same as in #182 as the error as go run error is not propagated as of now and should be fixed as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants