Install the weather proof transformer inside the post that is closest to your power supply. First, take a rubber mallet, and remove the post cap from the post. The post has a hole in the bottom of the post base plate for the cord to pass through.
Ensure you drill a 1-1/4″ hold through the decking for the cord to pass through.