(Rotting Valley isn't a spell.)
Rotting Valley enters the battlefield tapped.
Rotting Valley is indestructible. (Destroy effects and lethal damage don't destroy it.)
, Pay 1 life, Sacrifice Rotting Valley: Search your library for a Swamp or Forest card and put it onto the battlefield, then shuffle your library.