Skip to content

Commit

Permalink
Update generate_forecast_score_arrow.R
Browse files Browse the repository at this point in the history
  • Loading branch information
rqthomas authored Sep 20, 2024
1 parent 9868e70 commit cc9aa8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/generate_forecast_score_arrow.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cc9aa8a

Please sign in to comment.