From 06cec61123eab8b27768fc330af286ad27faec54 Mon Sep 17 00:00:00 2001 From: AF Date: Wed, 25 Oct 2023 10:00:43 +0200 Subject: [PATCH] Explicit the email verification mode to code --- .infrastructure/55_cognito.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.infrastructure/55_cognito.tf b/.infrastructure/55_cognito.tf index 70588b27ad..d8912f9a72 100644 --- a/.infrastructure/55_cognito.tf +++ b/.infrastructure/55_cognito.tf @@ -37,6 +37,10 @@ resource "aws_cognito_user_pool" "devportal" { source_arn = module.ses_developer_pagopa_it.ses_domain_identity_arn } + verification_message_template { + default_email_option = "CONFIRM_WITH_CODE" + } + # Custom attributes cannot be required. # Terraform cannot update or delete an attribute. # Terraform can add a new attribute as update in-place.