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

Issue with generated package names ending in _test #107

Open
jlarfors opened this issue Sep 27, 2024 · 0 comments
Open

Issue with generated package names ending in _test #107

jlarfors opened this issue Sep 27, 2024 · 0 comments

Comments

@jlarfors
Copy link
Contributor

While generating code for the hashicorp/google:5.12.0 it generated a package called google_network_management_connectivity_test based on the resource in the provider.

This is treated as test code and causes compile errors. There is not really an easy fix to this, the short-term thing would simply be to not generate Go code for resources ending with _test or changing the package name to something not _test.

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

No branches or pull requests

1 participant