We developed web application in python Flask that generates QR code with the help of qrcode python library. We hosted the application on AWS Elastic Beanstalk with GitHub pipeline. Therefore you onyl need to copy the code and configure AWS pipeline to deploy following application.
The GitHub repository for the project.
The necessary condition for a Flask QR code application to run aws is initialize application = Flask(__name__)