Skip to content

Commit

Permalink
Change default endpoint (awslabs#2416)
Browse files Browse the repository at this point in the history
  • Loading branch information
ejeffrli authored and Jithendar12 committed Dec 2, 2024
1 parent d477b38 commit 94c1ce0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public Connection getGlueConnection(String glueConnectionName) throws RuntimeExc
.builder()
.connectionTimeout(Duration.ofMillis(CONNECT_TIMEOUT)))
.build();
if (lambdaEnvironment.getOrDefault("USE_GAMMA_GLUE", "true").equals("true")) {
if (lambdaEnvironment.getOrDefault("USE_GAMMA_GLUE", "false").equals("true")) {
awsGlue = GlueClient.builder()
.endpointOverride(new URI(String.format("https://glue-gamma.%s.amazonaws.com", lambdaEnvironment.get("AWS_REGION"))))
.httpClientBuilder(ApacheHttpClient
Expand Down

0 comments on commit 94c1ce0

Please sign in to comment.