chore: Update dist
This commit is contained in:
parent
8d52d05d7a
commit
f8d4eb68a9
1 changed files with 6 additions and 0 deletions
6
dist/index.js
generated
vendored
6
dist/index.js
generated
vendored
|
|
@ -72616,12 +72616,16 @@ var CredentialsClient = class {
|
||||||
httpAgent: handler
|
httpAgent: handler
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if (props.stsEndpoint) {
|
||||||
|
this.stsEndpoint = props.stsEndpoint;
|
||||||
|
}
|
||||||
this.roleChaining = props.roleChaining;
|
this.roleChaining = props.roleChaining;
|
||||||
}
|
}
|
||||||
get stsClient() {
|
get stsClient() {
|
||||||
if (!this._stsClient || this.roleChaining) {
|
if (!this._stsClient || this.roleChaining) {
|
||||||
const config = { customUserAgent: USER_AGENT };
|
const config = { customUserAgent: USER_AGENT };
|
||||||
if (this.region !== void 0) config.region = this.region;
|
if (this.region !== void 0) config.region = this.region;
|
||||||
|
if (this.stsEndpoint !== void 0) config.endpoint = this.stsEndpoint;
|
||||||
if (this.requestHandler !== void 0) config.requestHandler = this.requestHandler;
|
if (this.requestHandler !== void 0) config.requestHandler = this.requestHandler;
|
||||||
this._stsClient = new import_client_sts3.STSClient(config);
|
this._stsClient = new import_client_sts3.STSClient(config);
|
||||||
}
|
}
|
||||||
|
|
@ -72836,6 +72840,7 @@ async function run() {
|
||||||
const expectedAccountIds = getInput("allowed-account-ids", { required: false }).split(",").map((s) => s.trim());
|
const expectedAccountIds = getInput("allowed-account-ids", { required: false }).split(",").map((s) => s.trim());
|
||||||
const forceSkipOidc = getBooleanInput("force-skip-oidc", { required: false });
|
const forceSkipOidc = getBooleanInput("force-skip-oidc", { required: false });
|
||||||
const noProxy = getInput("no-proxy", { required: false });
|
const noProxy = getInput("no-proxy", { required: false });
|
||||||
|
const stsEndpoint = getInput("sts-endpoint", { required: false });
|
||||||
const globalTimeout = Number.parseInt(getInput("action-timeout-s", { required: false })) || 0;
|
const globalTimeout = Number.parseInt(getInput("action-timeout-s", { required: false })) || 0;
|
||||||
let timeoutId;
|
let timeoutId;
|
||||||
if (globalTimeout > 0) {
|
if (globalTimeout > 0) {
|
||||||
|
|
@ -72878,6 +72883,7 @@ async function run() {
|
||||||
};
|
};
|
||||||
if (proxyServer) clientProps.proxyServer = proxyServer;
|
if (proxyServer) clientProps.proxyServer = proxyServer;
|
||||||
if (noProxy) clientProps.noProxy = noProxy;
|
if (noProxy) clientProps.noProxy = noProxy;
|
||||||
|
if (stsEndpoint) clientProps.stsEndpoint = stsEndpoint;
|
||||||
const credentialsClient = new CredentialsClient(clientProps);
|
const credentialsClient = new CredentialsClient(clientProps);
|
||||||
let sourceAccountId;
|
let sourceAccountId;
|
||||||
let webIdentityToken;
|
let webIdentityToken;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue