A writ of attachment may be obtained in any action for a money judgment, whether against a resident or a nonresident, regardless of the nature, character, or origin of the claim, whether it is for a certain or uncertain amount, and whether it is liquidated or unliquidated.