cyrilgdn / terraform-provider-postgresql

Terraform PostgreSQL provider
https://www.terraform.io/docs/providers/postgresql/
Mozilla Public License 2.0
356 stars 182 forks source link

error checking signature: openpgp: key expired #326

Closed siketyan closed 10 months ago

siketyan commented 11 months ago

Terraform Version

Terraform v1.6.0-dev on darwin_arm64

Affected Resource(s)

All

Terraform Configuration Files

terraform {
  required_version = "~> 1.5"

  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = "~> 5.4"
    }
    postgresql = {
      source  = "cyrilgdn/postgresql"
      version = "~> 1.20"
    }
  }

  backend "s3" {
    region = "ap-northeast-1"
    bucket = "[REDACTED]"
    key    = "sql/aws.tfstate"
  }
}

provider "aws" {
  region = "ap-northeast-1"
}

provider "postgresql" {
  host     = "localhost"
  port     = 5432
  username = "root"
  password = "password"
}

Debug Output

https://gist.github.com/siketyan/a0abec0dfb652771bfe8fd9339aad205

Panic Output

N/A

Expected Behavior

Initialisation succeeds.

Actual Behavior

It fails with an error:

Error while installing cyrilgdn/postgresql v1.20.0: error checking signature: openpgp: key expired

Steps to Reproduce

  1. terraform init

Important Factoids

N/A

References

N/A

siketyan commented 10 months ago

Re-checked today and the issue is no longer reproduced. Closing this issue