Well, it depends on the fact you want to emphasize. If the fact is that book was written and referring to past - "was" should be your choice. If you want to say that the book is written and it is the fact that Rowling is a writer then "is" will do.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.