Turn the pressure cooker on and set the "sear/saute" function and a "high" temperature.
Add the bacon pieces, butter, and onions to the bottom of the cooking pot and saute until the bacon starts to brown and the onions are translucent (about 10-12 minutes)
Mix the water with the bouillon. Add the remaining ingredients to the pot and mix to incorporate. You can save the salt, pepper, and red pepper flakes until the end if you wish to season to taste.
Add the pressure cooker lid and set it to seal.
Cook the green beans on high pressure for 5 minutes.
Set the pressure cooker lid to "vent" to quickly release the pressure.