mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
The AWS GovCloud (US) User Guide lists "AWS Lambda Function URLs is not available" (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-lambda.html) and the China guide "Amazon Lambda Function URLs is not available in the China Regions" (https://docs.amazonaws.cn/en_us/aws/latest/userguide/lambda.html), but CreateFunctionUrlConfig created one in every partition, on a host no source publishes for either of them. CreateFunctionUrlConfig now refuses a request whose region is in aws-us-gov or aws-cn with an InvalidParameterValueException, which the lambda model declares for the operation. No source shows AWS's message, so the wording is Floci's own, as for the API Gateway EDGE gate. The AWS::Lambda::Url provisioner creates through the same service method, so a stack in those partitions fails with that error. Get, Update and Delete act on an existing config and are unchanged. The ISO and EUSC partitions are left as they are because no source covers them, and the open question about the function URL host now names only those two. The Java compat suite skips LambdaFunctionUrlTest in those two partitions, so the China partition nightly stays green. Signed-off-by: Hector Ventura <hectorvent@gmail.com>