Bougainvillea Larvae

Found this wrapped in one of the bougainvillea leaves

Likely a little moth - different caterpillars will attack almost every tree in the garden.