The Office of the Commissioner of Baseball announced the penalty Thursday afternoon.
Heredia, a right-hander on the Astros' Dominican Summer League roster, tested positive for the metabolites of Stanozolol and Boldeone. His suspension will take effect at the start of the 2012 season.
Andrew Simon is a contributor to MLB.com. This story was not subject to the approval of Major League Baseball or its clubs.