File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -174,8 +174,8 @@ The rest of these Environment Variables can be set to match AWS Lambda's environ
174174
175175By default `aws-lambda-rie` sets the value of the `AWS_LAMBDA_FUNCTION_NAME` environment variable to `test_function`, while the
176176function name in the endpoint URL is `function`. If you want the RIE to behave like AWS Lambda, where the function name in the
177- endpoint matches the value of the environment variable, set the value of the `AWS_LAMBDA_RIE_INCONSISTENT_BEHAVIOUR `
178- environment variable to `"FALSE "`.
177+ endpoint matches the value of the environment variable, set the value of the `AWS_LAMBDA_RIE_DYNAMIC_FUNCTION_URL `
178+ environment variable to `"TRUE "`.
179179
180180## Level of support
181181
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ func GetenvWithDefault(key string, defaultValue string) string {
5757
5858func GetFunctionName () string {
5959 defaultValue := "function"
60- if GetenvWithDefault ("AWS_LAMBDA_RIE_INCONSISTENT_BEHAVIOUR " , "TRUE " ) == "TRUE " {
60+ if GetenvWithDefault ("AWS_LAMBDA_RIE_DYNAMIC_FUNCTION_URL " , "FALSE " ) == "FALSE " {
6161 defaultValue = "test_function"
6262 }
6363 return GetenvWithDefault ("AWS_LAMBDA_FUNCTION_NAME" , defaultValue )
You can’t perform that action at this time.
0 commit comments