feat: add no-proxy support (#1482)

This commit is contained in:
Tom Keller
2025-09-09 16:23:05 -07:00
committed by GitHub
parent 5ebd15afc6
commit dde9b22a8e
10 changed files with 635 additions and 117 deletions
+2 -1
View File
@@ -56,6 +56,7 @@ export async function run() {
.split(',')
.map((s) => s.trim());
const forceSkipOidc = getBooleanInput('force-skip-oidc', { required: false });
const noProxy = core.getInput('no-proxy', { required: false });
if (forceSkipOidc && roleToAssume && !AccessKeyId && !webIdentityTokenFile) {
throw new Error(
@@ -109,7 +110,7 @@ export async function run() {
exportRegion(region, outputEnvCredentials);
// Instantiate credentials client
const credentialsClient = new CredentialsClient({ region, proxyServer });
const credentialsClient = new CredentialsClient({ region, proxyServer, noProxy });
let sourceAccountId: string;
let webIdentityToken: string;