101Leafy researched the games.

Spiny

トゲゾー

Spinys are turtle-like bugs with spiky shells. Thanks to these spikes, Mario cannot stomp or spin attack them. He must just stay back. However, Yoshi is able to defeat Spinys by licking them so they retreat into their shells.

Super Mario Galaxy 2: Prima Official Game Guide (Prima Games, 2010) p29

From the 2015 encyclopedia

Mario's attacks do not work on it, but a spin attack can stop it in its tracks.

マリオの攻撃は効かないが、スピン攻撃で足止めはできる。

Our translation of スーパーマリオブラザーズ百科 任天堂公式ガイドブック (Shogakukan, 2015) p160

English name
Spiny (Super Mario Galaxy 2: Prima Official Game Guide (Prima Games, 2010) p29)
Japanese
トゲゾー (スーパーマリオギャラクシー2 ザ・コンプリートガイド (ASCII Media Works, 2010) p32)
Galaxies
Starshine Beach Galaxy

Where the books disagree

  • Throwback Galaxy: Prima pp222 and 225 list a Spiky Piranha Plant. The enemy pages (p29) know a Spiny Piranha Plant and a Prickly Piranha Plant, but no Spiky one.

Snoodle · Spiny Piranha Plant and Prickly Piranha Plant · Enemies