File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,10 @@ echo "Successfully removed the ~/.aws/config file"
62
62
aws configure set credential_source EcsContainer
63
63
echo " Successfully configured default profile"
64
64
65
+ # Add region configuration using REGION_NAME environment variable
66
+ aws configure set region " ${REGION_NAME} "
67
+ echo " Successfully configured region to ${REGION_NAME} "
68
+
65
69
# add SparkMonitor and Connection Magic entrypoint
66
70
NB_USER=sagemaker-user
67
71
Original file line number Diff line number Diff line change @@ -62,6 +62,10 @@ echo "Successfully removed the ~/.aws/config file"
62
62
aws configure set credential_source EcsContainer
63
63
echo " Successfully configured default profile"
64
64
65
+ # Add region configuration using REGION_NAME environment variable
66
+ aws configure set region " ${REGION_NAME} "
67
+ echo " Successfully configured region to ${REGION_NAME} "
68
+
65
69
# add SparkMonitor and Connection Magic entrypoint
66
70
NB_USER=sagemaker-user
67
71
You can’t perform that action at this time.
0 commit comments