Both Poland and the Czech Republic are former communist Warsaw Pact countries that are now NATO members .