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