Set Instant Pot to sauté high. Add olive oil and let heat for 30 seconds.
Add onions and sauté for until softened, about 3 minutes. Add carrots, celery and garlic. Sauté until garlic is fragrant, about 30 seconds.
Add tomatoes, the liquid from the green beans, setting beans aside, red pepper flake, oregano, salt, black pepper, bouillon cubes, soup beans and water.
Turn Instant Pot off. Thoroughly mix ingredients. Lock lid into place. Set Instant Pot on high pressure for 40 minutes.
After 40 minutes, quick release the pressure. Add the green beans and pasta to the soup. Mix well. Lock lid into place. Set Instant Pot on high pressure for 6 minutes. Quick release.
Season with salt, pepper, and red chili flake to taste.
Store in refrigerator up to 5 days.
Freeze up to 6 months.