How to use Teleport in a private AWS VPC?

We’re using Teleport as a bastion to access our cloud deployments through VPN (NOT internet) and we provide internet access through a Squid Proxy.

We ran into trouble because of the DynamoDB Streams not being available through VPC Endpoints , we did not manage to have Teleport use a proxy to use DynamoDB Streams !!

We tried vith HTTP_PROXY and HTTPS_PROXY variables with no success.

Any lead on this issue ? As anyone managed to have it working OK ?

How did you set the HTTP_PROXY and HTTPS_PROXY variables here to ensure that Teleport is using them?