Inspections are usually not required for small sheds used strictly for storage, tools, and firewood.
But you definitely need an inspection if you need electricity and plumbing, or if your intended use is for business, retail or living. Also, if you require a large or tall building, be smart, be safe.
You also want to check with your local HOA and ARC.