Skip to content

fix(aws-eks,sdk-provider): full proxy support - #16840

Merged
mergify[bot] merged 3 commits into
masterfrom
eks-full-proxy-support
Oct 7, 2021
Merged

mergify[bot] merged 3 commits into
masterfrom
eks-full-proxy-support

Conversation

@ryparker

@ryparker ryparker commented Oct 7, 2021

Copy link
Copy Markdown
Contributor

Summary

CDK was extracting the value of HTTPS?_PROXY and passing this to proxy-agent explicitly, which resulted in not honoring the NO_PROXY setting.

This removes that behavior and lets proxy-agent delegate to proxy-from-env, which will leverage values in HTTPS?_PROXY and NO_PROXY correctly.

Tested by deploying this sample repo and monitoring Squid proxy logs while triggering the "onEvent" Lambda.

Fixes #7121
Related PRs: #16751, #16751


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@ryparker
ryparker requested a review from RomainMuller October 7, 2021 06:11
@gitpod-io

gitpod-io Bot commented Oct 7, 2021

Copy link
Copy Markdown

@ryparker ryparker changed the title fix(aws-eks): full proxy support fix(aws-eks,sdk-provider): full proxy support Oct 7, 2021
@ryparker ryparker added the contribution/core This is a PR that came from AWS. label Oct 7, 2021
@ryparker ryparker self-assigned this Oct 7, 2021
@ryparker ryparker added the pr-linter/exempt-test The PR linter will not require test changes label Oct 7, 2021
@aws-cdk-automation

Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 5d5b434
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
mergify Bot merged commit 42d43db into master Oct 7, 2021
@mergify
mergify Bot deleted the eks-full-proxy-support branch October 7, 2021 07:55
@mergify

mergify Bot commented Oct 7, 2021

Copy link
Copy Markdown
Contributor

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

njlynch pushed a commit that referenced this pull request Oct 11, 2021
## Summary

CDK was extracting the value of HTTPS?_PROXY and passing this to proxy-agent explicitly, which resulted in not honoring the NO_PROXY setting.

This removes that behavior and lets proxy-agent delegate to proxy-from-env, which will leverage values in HTTPS?_PROXY and NO_PROXY correctly.

Tested by deploying [this sample repo](https://github.com/ryparker/aws-cdk-sample-eks) and monitoring Squid proxy logs while triggering the "onEvent" Lambda.

Fixes #7121
Related PRs: #16751, #16751

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
## Summary

CDK was extracting the value of HTTPS?_PROXY and passing this to proxy-agent explicitly, which resulted in not honoring the NO_PROXY setting.

This removes that behavior and lets proxy-agent delegate to proxy-from-env, which will leverage values in HTTPS?_PROXY and NO_PROXY correctly.

Tested by deploying [this sample repo](https://github.com/ryparker/aws-cdk-sample-eks) and monitoring Squid proxy logs while triggering the "onEvent" Lambda.

Fixes aws#7121
Related PRs: aws#16751, aws#16751

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
ali-n4i pushed a commit to ali-n4i/aws-cdk that referenced this pull request Jul 29, 2026
## Summary

CDK was extracting the value of HTTPS?_PROXY and passing this to proxy-agent explicitly, which resulted in not honoring the NO_PROXY setting.

This removes that behavior and lets proxy-agent delegate to proxy-from-env, which will leverage values in HTTPS?_PROXY and NO_PROXY correctly.

Tested by deploying [this sample repo](https://github.com/ryparker/aws-cdk-sample-eks) and monitoring Squid proxy logs while triggering the "onEvent" Lambda.

Fixes aws#7121
Related PRs: aws#16751, aws#16751

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution/core This is a PR that came from AWS. pr-linter/exempt-test The PR linter will not require test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CDK ignores no_proxy config

3 participants