In Elastic Beanstalk, how to set existing security group to load balancer with .ebextensions?
<p>I'm trying to set existing Security Group for the ELB in my Elastic Beanstalk application with <code>.ebextensions</code>.</p>

<p>For some reason, .configs like</p>

<pre><code>option_settings:
  aws:elb:loadbalancer:
    SecurityGroups: sg-abcd1234
</code></pre>

<p>Don't seem to do anything. Also, since that existing SG is strictly defined, I don't want to use <code>ManagedSecurityGroup</code> since that would modify the existing SG.</p>

<p>Any ideas how to achieve this? Help would be highly appreciated.</p>