mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-11-30 03:34:22 +01:00
feat: add no-proxy support (#1482)
This commit is contained in:
1 parent
5ebd15afc6
commit
dde9b22a8e
10 files changed
+635
-117
No files matched your search
+2
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user