Flexible gas supply line to Water Heater.

How do I determine if this kind of flexible gas line connecting to this hot water heater is appropriate? I’ve heard it can change from municipality to municipality.

Thanks guys!

Why post this question twice?

If you have local code requirements you are barking up the wrong tree.