Skip to content

Commit

Permalink
Change default endpoint (#2416)
Browse files Browse the repository at this point in the history
  • Loading branch information
ejeffrli authored Nov 22, 2024
1 parent a1c288b commit 640b3a6
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 640b3a6

Please sign in to comment.