Remove the papery skin from the onion and cut in half. Dice the onion and add to the Instant Pot on the sauté setting.
Cut the celery ribs into about ¼ inch pieces. Peel the carrot if desired and cut into thin rounds. Add the the celery and carrot to the pot as well.
Sauté the vegetables until the onion is translucent and the carrots are soft. If they begin to stick, add a splash of water.
Mince the garlic and add it to the pot. Cut the zucchini into about 1/2 inch rounds or semi-circles and add to the pot also.
Drain the black beans and green beans and add to the pot.
Add the diced tomatoes, vegetable broth, pasta, and spices.
Cook on high pressure for 10 minutes, then release the pressure manually.
Taste the soup and adjust flavor with salt and pepper. Top with fresh basil.
Notes
If you don't have a pressure cooker, you can make this on the stove top in a stockpot. Bring to a boil, and reduce to simmer until pasta is soft. You may need to add more vegetable broth to thin out the soup.