-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
How to test magic modules contribution #6952
Comments
@dhvogel thank you for your efforts to the contributions. I would suggest review the docs and follow the steps before running the tests. |
I have, and even after following those steps, I am seeing an error compiling a dependency. |
@dhvogel looks like you built the |
Yes, and the lack of billing permissions was the error encountered in #6908. When I pull the latest terraform-google-provider from head, I can run the test just fine, so I am sure this is not an IAM issue. This issue only occurs when I generate the terraform-google-provider code from the upstream magic-modules contribution. |
@dhvogel have you run |
It's automatically pulling in github.com/terraform-providers/terraform-provider-google-beta v1.20.0, which appears to have the bug that is preventing compilation. Unfortunately when I try to manually bump the version to v2.0.0, I see the following error message:
|
@dhvogel
Let me know if that work for you |
@dhvogel do you have more questions? |
@dhvogel closing this question now. Feel free to reopen it if you still have questions Thanks |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Hi Magic Modules Team --
I am trying to test a contribution to the Magic Modules repository [0]. To achieve this, I perform the following steps:
However, when I try to run the test, I see the following error message:
This appears to be due to a bug in a dependency package,
github.com/terraform-providers/terraform-provider-google-beta@v1.20.0
. I don't believe I need this package to run the test, because the contribution is to the GA provider, not the beta provider. However, I am new to Go and not sure how to ignore it in the test command. How can I run the test without trying to compile this dependency?[0] GoogleCloudPlatform/magic-modules#3789
The text was updated successfully, but these errors were encountered: