Skip to content

Commit 50f1fd6

Browse files
bentskucloutierMat
authored andcommitted
override use of next-gen APIW provider
1 parent 5271fc0 commit 50f1fd6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

localstack-core/localstack/config.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,6 +1063,11 @@ def populate_edge_configuration(
10631063
# Whether to really publish to GCM while using SNS Platform Application (needs credentials)
10641064
LEGACY_SNS_GCM_PUBLISHING = is_env_true("LEGACY_SNS_GCM_PUBLISHING")
10651065

1066+
# TODO: remove this, replace this by setting the provider as default
1067+
# force enable the use of the new invocation logic for APIGW v1 in community
1068+
if not os.environ.get("PROVIDER_OVERRIDE_APIGATEWAY"):
1069+
os.environ["PROVIDER_OVERRIDE_APIGATEWAY"] = "next_gen"
1070+
10661071
# Whether the Next Gen APIGW invocation logic is enabled (handler chain)
10671072
APIGW_NEXT_GEN_PROVIDER = os.environ.get("PROVIDER_OVERRIDE_APIGATEWAY", "") == "next_gen"
10681073
if APIGW_NEXT_GEN_PROVIDER:

0 commit comments

Comments
 (0)