java.lang.IllegalArgumentException: Invalid Security Group Spec

27 views
Skip to first unread message

Juan Carlos González González

unread,
Apr 28, 2015, 12:33:11 PM4/28/15
to beanstal...@googlegroups.com
Hi Aldrin,

We're using the sequence    upload-source-bundle, create-application-version and  replace-environment in order to replace a running environment with a new version of our software. The running environment shows the following configuration for security groups: sg-dc6d20b8,sg-214b1c45. The configuration for beanstalker plugin has the following value for security groups: <beanstalk.securityGroups>sg-dc6d20b8,sg-214b1c45.</beanstalk.securityGroups>.

The problem is that we're always getting an IllegalArgumentException complaining about security group spec. I've traced the error to AbstractBeanstalkMojo class. I can see that the error happens because the plugin validates that value against a single security group regex. According to beanstalk configuration (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html), several security group ids are allowed as we're deploying into a public/private VPC.

Please, could you explain this behaviour?. If this is fine, which is the workaround?.




Juan Carlos González González

unread,
Jun 8, 2015, 9:30:07 AM6/8/15
to beanstal...@googlegroups.com
Hi Aldrin,

Please, any hint about this?.

Best regards,
Reply all
Reply to author
Forward
0 new messages