terraform-provider-argocd
terraform-provider-argocd copied to clipboard
self signed key doesnot validate with terraform clouds
Working with a new workspace with terraform cloud, since the plugin is self signed, the terraform cloud block the installation of the plugin , see the error below
Initializing HCP Terraform... Initializing modules...
- argo in ../modules/argo Initializing provider plugins...
- Finding argoproj-labs/argocd versions matching "7.0.3"...
- Finding hashicorp/aws versions matching ">= 5.34.0"...
- Finding hashicorp/helm versions matching ">= 2.9.0"...
- Finding hashicorp/kubernetes versions matching ">= 2.20.0"...
- Finding latest version of hashicorp/argocd...
- Installing hashicorp/kubernetes v2.33.0...
- Installed hashicorp/kubernetes v2.33.0 (signed by HashiCorp)
- Installing argoproj-labs/argocd v7.0.3...
- Installed argoproj-labs/argocd v7.0.3 (self-signed, key ID 6421DA8DFD8F48D0)
- Installing hashicorp/aws v5.75.1...
- Installed hashicorp/aws v5.75.1 (signed by HashiCorp)
- Installing hashicorp/helm v2.16.1...
- Installed hashicorp/helm v2.16.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 │ │ Could not retrieve the list of available versions for provider │ hashicorp/argocd: provider registry registry.terraform.io does not have a │ provider named registry.terraform.io/hashicorp/argocd │ │ Did you intend to use argoproj-labs/argocd? If so, you must specify that │ source address in each module which requires that provider. To see which │ modules are currently depending on hashicorp/argocd, run the following │ command: │ terraform providers
Terraform Version, ArgoCD Provider Version and ArgoCD Version
Terraform version: 1.9.0 / 1.9.8
ArgoCD provider version: 7.0.3
ArgoCD version:
Affected Resource(s)
Terraform Configuration Files
terraform {
required_version = ">= 1.3"
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 5.34"
}
helm = {
source = "hashicorp/helm"
version = ">= 2.9"
}
kubernetes = {
source = "hashicorp/kubernetes"
version = ">= 2.20"
}
argocd = {
source = "argoproj-labs/argocd"
version = "7.0.3"
}
}
}
# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.
Debug Output
Panic Output
Steps to Reproduce
Expected Behavior
Actual Behavior
Important Factoids
References
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@JudaB is this still an issue? I assume that was during the migration phase from the old location to the new location. But nowadays there shouldn't be anything special to the publishing of the provider...
I quickly formatted your Error log and now I see the root cause of your issue:
Initializing provider plugins...
(..)
- Finding latest version of hashicorp/argocd...
One of your modules (which uses the argocd provider) does not specify it inside the required_providers {} block.
Please make sure that all your modules specify at least the source correctly (if you want, you can also pin the version there).
argocd = {
source = "argoproj-labs/argocd"
}