To a jar, pack in the trimmed green beans, dill, and garlic
Once those things are packed in, add your peppercorns, salt, honey, and red pepper flakes (if desired)
cover with 1 cup of white vinegar and then fill up remainder of jar with boiling water until everything is covered (likely about 1/2-1 cup of boiling water)
Cover jar with tight fitting lid and shake jar well enough so that salt and honey dissolve and everything is well incorporated
Let sit out on a counter for an hour and then refrigerate. You can enjoy them in about 4 hours, but I think they are best after about 24 hours of being able to soak in the brine!
You can optionally blanch the green beans in some boiling water for a couple of minutes before packing them into the jar. This will make the dilly beans slightly softer and less crunchy/crisp