aws-solutions / qnabot-on-aws

AWS QnABot is a multi-channel, multi-language conversational interface (chatbot) that responds to your customer's questions, answers, and feedback. The solution allows you to deploy a fully functional chatbot across multiple channels including chat, voice, SMS and Amazon Alexa.
https://aws.amazon.com/solutions/implementations/aws-qnabot
Apache License 2.0
401 stars 253 forks source link

[Bug] AWS environment variable for region is wrongly set #714

Closed sleepwithcoffee closed 5 months ago

sleepwithcoffee commented 7 months ago

Describe the bug A clear and concise description of what the bug is.

process.env.AWS_DEFAULT_REGION is set to config.profile in various places.

To Reproduce

These misconfigurations can be found under:

Expected behavior

process.env.AWS_DEFAULT_REGION should be set to config.region instead

Please complete the following information about the solution:

Screenshots If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).

image

dougtoppin commented 7 months ago

@sleepwithcoffee Thanks for your report, we will investigate and get back to you

fhoueto-amz commented 7 months ago

This should be addressed in the next release. thanks

fhoueto-amz commented 5 months ago

Fixed in v6.0.0