mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-09-03 06:05:04 +09:00
chore: Update dist
This commit is contained in:
Vendored
+1
-3
@@ -128,7 +128,6 @@ module.exports = AWS.MediaLive;
|
|||||||
const core = __webpack_require__(6470);
|
const core = __webpack_require__(6470);
|
||||||
const aws = __webpack_require__(9350);
|
const aws = __webpack_require__(9350);
|
||||||
const assert = __webpack_require__(2357);
|
const assert = __webpack_require__(2357);
|
||||||
const util = __webpack_require__(1669);
|
|
||||||
|
|
||||||
// The max time that a GitHub action is allowed to run is 6 hours.
|
// The max time that a GitHub action is allowed to run is 6 hours.
|
||||||
// That seems like a reasonable default to use if no role duration is defined.
|
// That seems like a reasonable default to use if no role duration is defined.
|
||||||
@@ -258,10 +257,9 @@ async function exportAccountId(maskAccountId, region) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getStsClient(region) {
|
function getStsClient(region) {
|
||||||
const endpoint = util.format('https://sts.%s.amazonaws.com', region);
|
|
||||||
return new aws.STS({
|
return new aws.STS({
|
||||||
region,
|
region,
|
||||||
endpoint,
|
stsRegionalEndpoints: 'regional',
|
||||||
customUserAgent: USER_AGENT
|
customUserAgent: USER_AGENT
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user