From 593b1c617e24d971faaad0111a0f32274ad91557 Mon Sep 17 00:00:00 2001 From: Erik Kristensen Date: Thu, 26 Dec 2024 11:05:08 -0700 Subject: [PATCH] fix(cognito-userpool): include auto verified attributes --- resources/cognito-userpool.go | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/cognito-userpool.go b/resources/cognito-userpool.go index 897576e1..fd528d73 100644 --- a/resources/cognito-userpool.go +++ b/resources/cognito-userpool.go @@ -110,6 +110,7 @@ func (r *CognitoUserPool) Remove(_ context.Context) error { UserPoolId: r.ID, DeletionProtection: ptr.String("INACTIVE"), UserAttributeUpdateSettings: userPool.UserPool.UserAttributeUpdateSettings, + AutoVerifiedAttributes: userPool.UserPool.AutoVerifiedAttributes, }) if updateErr != nil { return updateErr