Overview
When attempting to install the Auth0 Terraform Provider, an error occurs with the following output:
│ Error: Failed to install provider
│
│ Error while installing auth0/auth0 v1.7.1: error checking signature:
│ openpgp: key expired
Applies To
- Auth0 Terraform Provider
Cause
This error is caused by an issue with Terraform version 1.6, not the Auth0 provider. It was patched out in version 1.6.1.
More on this update can be found here: cli: ignore expired provider signing keys from registry during init by jbardin · Pull Request #34004 · hashicorp/terraform · GitHub
Solution
Upgrade the Terraform version to at least v1.6.1, and attempt to install the Auth0 Terraform Provider again.