Skip to content

[aws] ci deploy branch changes existing function configuration #594

@dominique-pfister

Description

@dominique-pfister

When executing a CI build (step branch-deploy), one can see that the function configuration is updated:

https://app.circleci.com/pipelines/github/adobe/helix-s3r2-sync/575/workflows/988a84ff-7b27-4d21-b046-c8a4b2ca50ff/jobs/1257

Look for the line:

updating existing Lambda function configuration helix-services--s3r2-sync

in code this happens here:

await this._lambda.send(new UpdateFunctionConfigurationCommand(functionConfig));

I think this causes newly started function invocations of the main function to use that CI configuration, which is unexpected.

cc: @stefan-guggisberg

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions