diff --git a/infrastructure/pcluster-manager-cognito.yaml b/infrastructure/pcluster-manager-cognito.yaml index 9542855a..21ca89c1 100644 --- a/infrastructure/pcluster-manager-cognito.yaml +++ b/infrastructure/pcluster-manager-cognito.yaml @@ -194,8 +194,8 @@ Resources: - !Ref AWS::NoValue Schema: !If - MFA - - [{Name: email, AttributeDataType: String, Mutable: false, Required: true}, {Name: phone_number, AttributeDataType: String, Mutable: false, Required: true}] - - [{Name: email, AttributeDataType: String, Mutable: false, Required: true}] + - [{Name: email, AttributeDataType: String, Mutable: true, Required: true}, {Name: phone_number, AttributeDataType: String, Mutable: false, Required: true}] + - [{Name: email, AttributeDataType: String, Mutable: true, Required: true}] UserPoolName: !Sub ${AWS::StackName}-userpool UsernameConfiguration: CaseSensitive: false