Some templates may not use `Ref` as security group, and use the security group ID. I don't know how this would behave.