8000 override use of next-gen APIW provider · localstack/localstack@24a88e7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 24a88e7

Browse files
committed
override use of next-gen APIW provider
1 parent 2b245ac commit 24a88e7

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
@@ -1066,6 +1066,11 @@ def populate_edge_configuration(
10661066
# Whether to really publish to GCM while using SNS Platform Application (needs credentials)
10671067
LEGACY_SNS_GCM_PUBLISHING = is_env_true("LEGACY_SNS_GCM_PUBLISHING")
10681068

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

0 commit comments

Comments
 (0)
0