I have created a Elastic Beanstalk environment and have created this .config to edit the security groups which worked. Now my EC2s are attached to the new SG and the default one.
option_settings:
- namespace: aws:autoscaling:launchconfiguration
option_name: SecurityGroups
value: "sg-123456"
My question is: How can I remove the default security group attached to it bcz I don't want to use it.