Skip to content

Commit b9a7700

Browse files
author
Ruinong Tian
committed
Add region configuration to default profile
1 parent 3490548 commit b9a7700

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build_artifacts/v3/v3.1/v3.1.1/dirs/etc/sagemaker-ui/sagemaker_ui_post_startup.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ echo "Successfully removed the ~/.aws/config file"
6565
aws configure set credential_source EcsContainer
6666
echo "Successfully configured default profile"
6767

68+
# Add region configuration using REGION_NAME environment variable
69+
aws configure set region "${REGION_NAME}"
70+
echo "Successfully configured region to ${REGION_NAME}"
71+
6872
# add SparkMonitor and Connection Magic entrypoint
6973
NB_USER=sagemaker-user
7074

0 commit comments

Comments
 (0)