From 3ac4f7c4b01f85e1ec56a7d00cfa787178565e01 Mon Sep 17 00:00:00 2001 From: Keep Focused Date: Thu, 2 Jan 2025 12:44:28 +0700 Subject: [PATCH] Fixed the error CertificateNotFound: Certificate rds-ca-2019 not found when querying RDS Instances Closes #2362 (#2363) --- aws/table_aws_rds_db_instance.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/aws/table_aws_rds_db_instance.go b/aws/table_aws_rds_db_instance.go index 2ce48a4cf..e75750cc9 100644 --- a/aws/table_aws_rds_db_instance.go +++ b/aws/table_aws_rds_db_instance.go @@ -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,