Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recent commits result in Welcome email being sent long before stack creation is complete #86

Closed
rstrahan opened this issue May 31, 2018 · 2 comments
Assignees
Labels

Comments

@rstrahan
Copy link
Contributor

Expected Behavior

Welcome email indicates that user can log in to Content designer, and start using QnABot.. When user receives this email, stack should be ready for use.

Actual Behavior

After recent updates, the stack create continues long after the welcome email is received.. If user logs in and uses QnABot after receiving the email, it can cause problems with ElasticSearch/Kibana setup since stack is not finished building.

  • Send email only when stack creation is about to complete
@JohnCalhoun
Copy link
Contributor

fix is coming in 2.1.0 version

@rstrahan
Copy link
Contributor Author

rstrahan commented Jun 6, 2018

The develop branch does not appear to have a fix for this issue. Since the email is sent when user pool is created, and the user pool is a dependency for the ElasticSearch update to add Kibana auth, it's not clear to me if we can delay the welcome email until rest of stack is complete.
For now i will simply update the email text to tell user to wait till stack is complete.

New text:

Hello {username},

Welcome to the QnABot! Your temporary password is:

{####}

When the CloudFormation stack is COMPLETE (in approxmately 30 minutes), use the link below to log in to QnABot Content Designer, set your permanent password, and start building your bot!

${ApiUrl.Name}/pages/designer

QnABot

www.amazon.com/qnabot

bestMUsman pushed a commit to bestMUsman/aws-ai-qna-bot that referenced this issue May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants