You're trying to use a feature that is no longer supported (Launch Configuration). You've done a great job on identifying you need to use a Launch template instead!
You should be able to follow these instructions to set up a Launch Template for your Elastic Beanstalk environment.