Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Enable use of AWS STS regional endpoints #348

Merged
merged 2 commits into from
Apr 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion config/aws-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ const localstack = process.env.LOCALSTACK || 0

let secretsManagerConfig = {}
let systemManagerConfig = {}
let stsConfig = {}
let stsConfig = {
region: process.env.AWS_REGION || 'us-west-2',
stsRegionalEndpoints: process.env.AWS_STS_ENDPOINT_TYPE || 'regional'
}

if (localstack) {
secretsManagerConfig = {
Expand Down