Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dominique-pfister opened this issue Oct 16, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@dominique-pfister
Copy link
Contributor

dominique-pfister commented Oct 16, 2023

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

@dominique-pfister dominique-pfister added the bug Something isn't working label Oct 16, 2023
@tripodsan
Copy link
Contributor

let's consider this as a known issue and document it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants