The documentation states that you should be able to specify multiple security groups when using ec2_instance, however, it will throw an error if an array is specified.
There are no examples showing multiple security groups works.
On line 48 of ec2_instance.rb the security_groups property has the following validation:
fail 'security_groups should be a String' unless value.is_a?(String)
The documentation states that you should be able to specify multiple security groups when using ec2_instance, however, it will throw an error if an array is specified.
There are no examples showing multiple security groups works.
On line 48 of ec2_instance.rb the security_groups property has the following validation:
fail 'security_groups should be a String' unless value.is_a?(String)