We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca137bb commit 448d2f8Copy full SHA for 448d2f8
packages/middleware-location-constraint/src/index.ts
@@ -24,6 +24,7 @@ export function locationConstraintMiddleware(
24
args: InitializeHandlerArguments<any>
25
): Promise<InitializeHandlerOutput<Output>> => {
26
const { CreateBucketConfiguration } = args.input;
27
+ //After region config resolution, region is a Provider<string>
28
const region = await options.region();
29
if (
30
!CreateBucketConfiguration ||
0 commit comments