Skip to content

Commit

Permalink
Fixed the error CertificateNotFound: Certificate rds-ca-2019 not foun…
Browse files Browse the repository at this point in the history
…d when querying RDS Instances Closes #2362 (#2363)
  • Loading branch information
ParthaI authored Jan 2, 2025
1 parent 7709c95 commit 3ac4f7c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions aws/table_aws_rds_db_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ func tableAwsRDSDBInstance(_ context.Context) *plugin.Table {
{
Func: getRDSDBInstanceCertificate,
Tags: map[string]string{"service": "rds", "action": "DescribeCertificates"},
// Certificate "rds-ca-2019" not found due to discontinuation, Amazon RDS and Amazon Aurora Expire in 2024.
// AWS announcement ref: https://aws.amazon.com/blogs/aws/rotate-your-ssl-tls-certificates-now-amazon-rds-and-amazon-aurora-expire-in-2024/
IgnoreConfig: &plugin.IgnoreConfig{
ShouldIgnoreErrorFunc: shouldIgnoreErrors([]string{"CertificateNotFound"}),
},
},
{
Func: getRDSDBInstanceProcessorFeatures,
Expand Down

0 comments on commit 3ac4f7c

Please sign in to comment.