I'm using Terraform to provision ElasticBeanstalk application. EC2 instances are placed into auto scaling group and accessed via (classic) Elastic Load Balancer.
Now I need to store access the logs to that load balancer in S3. I see it is possible to do manually from web console (EC2/Load Balancers/Description/Attributes/Access logs). Also Terraform allows to configure access logs for aws_elb (if it is created not by ElasticBeanstalk). However, ElasticBeanstalk does not allow to configure access logs for classic load balancer (see docs) only for application load balancer.
So the question is: how can I configure ElasticBeanstalk to store access logs for classic load balancer?
I realize that I can change the balancer type but I'd like to avoid that.