+
Skip to content

edge-lambda issue after 2.48.5 => 2.49.3 upgrade #101

@dd-an

Description

@dd-an

getting edge-lambda issue after version update:

edge-lambda Custom::CrossRegionExportWriterCustomResourceProvider AWS::Lambda::Function CREATE_FAILED Resource handler returned message: "Error occurred while GetObject. S3 Error Code: PermanentRedirect. S3 Error Message: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. (Service: Lambda, Status Code: 400, Request ID: xyz) (SDK Attempt Count: 1)" (RequestToken: xyz, HandlerErrorCode: InvalidRequest)

Code:

  const edgeLambda = new experimental.EdgeFunction(
    stack,
    'lambdaName',
    {
      handler: 'index.handler',
      runtime: Runtime.NODEJS_20_X,
      code: Code.fromAsset('packages/handler/dist'),
      stackId: `${app.logicalPrefixedName('edge-lambda')}`,
      timeout: Duration.seconds(parseInt(LAMBDA_TIMEOUT)),
      memorySize: parseInt(LAMBDA_MEMORY),
    },
  );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载