From e8d930cc6655a9be7b4fac67c6962a38f11a8fc7 Mon Sep 17 00:00:00 2001 From: Louis TOUSSAINT Date: Thu, 17 Jun 2021 11:33:50 +0200 Subject: [PATCH] Issue 649: Fix ses_smtp_password false positive --- pkg/resource/aws/aws_iam_access_key.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/resource/aws/aws_iam_access_key.go b/pkg/resource/aws/aws_iam_access_key.go index 8ca21442..faf5cdad 100644 --- a/pkg/resource/aws/aws_iam_access_key.go +++ b/pkg/resource/aws/aws_iam_access_key.go @@ -14,6 +14,7 @@ func initAwsIAMAccessKeyMetaData(resourceSchemaRepository resource.SchemaReposit // We can't detect drift if we cannot retrieve latest value from aws API for fields like secrets, passwords etc ... val.SafeDelete([]string{"secret"}) val.SafeDelete([]string{"ses_smtp_password_v4"}) + val.SafeDelete([]string{"ses_smtp_password"}) val.SafeDelete([]string{"encrypted_secret"}) val.SafeDelete([]string{"key_fingerprint"}) val.SafeDelete([]string{"pgp_key"})