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

unable to use the custom module with terraform #62

Closed
kameshsampath opened this issue Aug 13, 2021 · 2 comments
Closed

unable to use the custom module with terraform #62

kameshsampath opened this issue Aug 13, 2021 · 2 comments
Assignees

Comments

@kameshsampath
Copy link

kameshsampath commented Aug 13, 2021

When trying to use civo/civo provider with custom module results in the module being searched under hashicorp/civo and the module is not initialised.

Clone the reproducer https://github.com/kameshsampath/civo-example and doing terraform init will result in the following error:

Initializing modules...
- k3s in modules/k3s

Initializing the backend...

Initializing provider plugins...
- Finding hashicorp/helm versions matching "2.2.0"...
- Finding latest version of hashicorp/civo...
- Finding hashicorp/null versions matching "3.1.0"...
- Finding civo/civo versions matching "0.10.9"...
- Finding hashicorp/kubernetes versions matching "2.4.1"...
- Installing hashicorp/helm v2.2.0...
- Installed hashicorp/helm v2.2.0 (signed by HashiCorp)
- Installing hashicorp/null v3.1.0...
- Installed hashicorp/null v3.1.0 (signed by HashiCorp)
- Installing civo/civo v0.10.9...
- Installed civo/civo v0.10.9 (signed by a HashiCorp partner, key ID CA1DE390990EBE66)
- Installing hashicorp/kubernetes v2.4.1...
- Installed hashicorp/kubernetes v2.4.1 (signed by HashiCorp)

Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/cli/plugins/signing.html
╷
│ Error: Failed to query available provider packages
│ 

If you try to run without custom module things work as expected.

CC: @saiyam1814 @alejandrojnm

@zulh-civo
Copy link
Member

@kameshsampath please take a look at this issue. I hope that will fix your problem. If the problem persist, please reopen this issue.

@kameshsampath
Copy link
Author

thanks @zulh-civo will check it out.

@zulh-civo zulh-civo self-assigned this Sep 3, 2021
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

2 participants