 Peter Gardner Ostrum ( / ˈpiːtər ˈoʊstrəm / ; ) ( born November 1957 ) is an American former child actor whose only film role was as Charlie Bucket in the 1971 motion picture Willy Wonka & the Chocolate Factory . 
