From cc9aa8a0d69f35d03ce09ad70b99fa06f4bf1371 Mon Sep 17 00:00:00 2001 From: Quinn Thomas Date: Fri, 20 Sep 2024 09:54:44 -0400 Subject: [PATCH] Update generate_forecast_score_arrow.R --- R/generate_forecast_score_arrow.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/generate_forecast_score_arrow.R b/R/generate_forecast_score_arrow.R index b2ba16c..53dcaf2 100644 --- a/R/generate_forecast_score_arrow.R +++ b/R/generate_forecast_score_arrow.R @@ -52,7 +52,8 @@ generate_forecast_score_arrow <- function(targets_df, arrow_env_vars <- function(){ user_region <- Sys.getenv("AWS_DEFAULT_REGION") user_meta <- Sys.getenv("AWS_EC2_METADATA_DISABLED") - Sys.unsetenv("AWS_DEFAULT_REGION") + #Sys.unsetenv("AWS_DEFAULT_REGION") + Sys.setenv(AWS_DEFAULT_REGION="") Sys.setenv(AWS_EC2_METADATA_DISABLED="TRUE") list(user_region=user_region, user_meta = user_meta)