Use the security groups options in the portable TemplateOptions

See #439