Skip to content

Commit

Permalink
Merge 087fdfb into 485611b
Browse files Browse the repository at this point in the history
  • Loading branch information
jn1119 authored Aug 17, 2021
2 parents 485611b + 087fdfb commit 4c8c060
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,11 @@ Resources:
$startS3SyncScriptContent = @'
# enable AWS_SDK_LOAD_CONFIG to 1. This will allow S3 session to use .aws/profile and .aws/credentials file
$env:AWS_SDK_LOAD_CONFIG = 1
# Use STS regional endpoint instead of global one. This allows external studies to connect with local interface endpoint if it exists.
# Refer https://docs.aws.amazon.com/sdkref/latest/guide/setting-global-sts_regional_endpoints.html
$env:AWS_STS_REGIONAL_ENDPOINTS = "regional"
$env:AWS_DEFAULT_REGION = "${AWS::Region}"

$defaultS3Mounts = '${S3Mounts}' | ConvertTo-Json

$arguments = "-defaultS3Mounts=$defaultS3Mounts -destination=d:\ -region=${AWS::Region} -recurringDownloads=${RecurringDownloads} -downloadInterval=${DownloadInterval} -stopRecurringDownloadsAfter=${StopRecurringDownloadsAfter}"
Expand Down

0 comments on commit 4c8c060

Please sign in to comment.