terraform-provider-confluent: Error: Failed to install provider for Terraform (openpgp: key expired)
We seem to get the below error when downloading the Confluent provider in Terraform
│ Error: Failed to install provider
│
│ Error while installing confluentinc/confluent v1.39.0: error checking
│ signature: openpgp: key expired
The code is as follows
required_providers {
confluent = {
source = "confluentinc/confluent"
version = "1.39.0"
}
Any idea on what is causing this problem?
Thanks
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Reactions: 21
- Comments: 20
Commits related to this issue
- Add a new example for managing-single-schema-registry-cluster (#315) — committed to Lucatronlk/terraform-provider-confluent by linouk23 a year ago
When will the update happen today? I guess many are waiting on this fix!
@linouk23 When will the update happen today? I guess many are waiting on this fix!
Update: it looks like believe HashiCorp merged a fix about 14 hours ago which should be available in
1.6.1TF version (release date TBD).For the context, we’re not the only TF provider affected by this issue:
Thank you! You can also see
1.6.1on their GitHub: https://github.com/hashicorp/terraform/releases/tag/v1.6.1 too.I am also facing similar issue
Error: Failed to install provider │ │ Error while installing cyrilgdn/postgresql v1.21.0: error checking │ signature: openpgp: key expired
update: we have reached out to HashiCorp for their assistance, and we should receive an update tomorrow.
FWIW - another workaround is to commit the provider into your git repo, so that your colleagues/CI doesn’t need to install it from the registry
i have temporarily done this to unblock the team:
edit: this will add ~50MB of bloat to your git repo! 🔥 (but at least it is only 1 binary + README + LICENSE) edit: we are eager to avoid merging this to
main!@gautam-goudar as a temporary fix, you could downgrade from
1.6.0Terraform version to an earlier version.That said, we’re still working on resolving the issue.
update: I’m happy to let you know that HashiCorp has released a new version of
terraform: 1.6.1 where they fixed this bug:I did test it already and it seems to work:
and here’s the output:
In other words, the issue should be resolved if you switch
terraformversion to1.6.1from1.6.0.workaround is to use terraform 1.5.7
See https://github.com/hashicorp/terraform/issues/33984#issuecomment-1748712133 looks like the provider owner needs to renew pgp keys
@gautam-goudar there’s an issue on our side, we’re working to fix it, thanks for waiting!