switched SecurityGroups to SecurityGroupIds