From 3e2ba00093bd8cf31b9afb331eb8e492d5c46c6d Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 18 Mar 2020 20:55:56 +0000 Subject: [PATCH] chore: Update dist --- dist/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dist/index.js b/dist/index.js index 086f10a..dc87c1e 100644 --- a/dist/index.js +++ b/dist/index.js @@ -128,7 +128,6 @@ module.exports = AWS.MediaLive; const core = __webpack_require__(6470); const aws = __webpack_require__(9350); const assert = __webpack_require__(2357); -const util = __webpack_require__(1669); // 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. @@ -258,10 +257,9 @@ async function exportAccountId(maskAccountId, region) { } function getStsClient(region) { - const endpoint = util.format('https://sts.%s.amazonaws.com', region); return new aws.STS({ region, - endpoint, + stsRegionalEndpoints: 'regional', customUserAgent: USER_AGENT }); }