MIAMI, FL - MAY 10: A Whole Foods Market sign is seen outside the store as the company appointed five new directors to its board and replaced its chairman on May 10, 2017 in Miami, Florida. The corporate shakeup is seen as a broader effort to revamp operations for the grocery store chain. (Photo by Joe Raedle/Getty Images)

Online juggernaut Amazon is buying Whole Foods in a deal valued at about $13.7 billion, including debt. Amazon.com Inc. will pay $42 per share for Whole Foods Market Inc. That marks an 18 percent premium to Whole Foods closing price on Thursday. The deal comes a month after Whole Foods announced a board shake-up and cost-cutting plan amid falling sales. The grocery store operator was also under pressure from activist investor Jana Partners.