Brown the ground beef with the onion in a large skillet over medium heat. Stir the potatoes, beef bouillon, and water into the beef. Drain the liquid from the canned green beans and corn into the beef mixture; set the green beans and corn aside. Cook the mixture until the potatoes are soft. Add the green beans, corn, and diced tomatoes and cook until hot. Season with salt and pepper before serving.