Looking for some opinions from somebody who maybe has some experience with a similar decision. I'm in the process of installing the permanent electrical connections for the pump. The pump is currently sitting right next to the pool at the end of the new deck addition I'm also building.
NEC tells me I need a permanent receptacle at least 6 foot from the pool and can have a maximum 3 foot cord to the pump. I'm planning to power the pump outlet from an unused 50 amp hot tub service panel on the side of the house, routing the conduit along the underside of the deck joists. I was originally planning on leaving the pump and filter right where it is and putting the outlet on end of the deck so i don't need to bury anything. However, I can't do that and meet the above distance/cord length requirements, so I would need to run the conduit from the underside of the deck joist underground to a post. I don't like the post outside the deck like that though. Pictures to help visualize this below:

NEC tells me I need a permanent receptacle at least 6 foot from the pool and can have a maximum 3 foot cord to the pump. I'm planning to power the pump outlet from an unused 50 amp hot tub service panel on the side of the house, routing the conduit along the underside of the deck joists. I was originally planning on leaving the pump and filter right where it is and putting the outlet on end of the deck so i don't need to bury anything. However, I can't do that and meet the above distance/cord length requirements, so I would need to run the conduit from the underside of the deck joist underground to a post. I don't like the post outside the deck like that though. Pictures to help visualize this below:

