terragrunt icon indicating copy to clipboard operation
terragrunt copied to clipboard

before hook to start a proxy connection

Open jw-websensa opened this issue 2 years ago • 1 comments

I want to deploy resources to kubernetes using terragrunt. However my cluster is in VPC without public access, so I am using jumphost to get to it. I wanted to add before_hook to establish connection to my proxy (SSH port forwarding), but even though I pass -f option to ssh command (should be run in background), terragrunt gets stuck on hook execution. Is there any workaround?

jw-websensa avatar Aug 10 '22 08:08 jw-websensa

Hi, AFAIK each hook execution is blocking, so it will not be possible to establish background connection to bastin

denis256 avatar Aug 17 '22 12:08 denis256