Permissions, Triggers, Asynchronous invocations present in $LATEST version but not in alias or published version

0

We created a lambda function with dynamo db and s3 permissions, apigw triggers. These configurations are present in the $LATEST version. Recently we are facing the cold start issues, we are trying to use provisioned concurrency. The provisioned concurrency needs a published version. When we publish the version, it is not having all the configuration that is present in $LATEST version.

How do we retain those configurations when we publish ? We use CDK to create the lambda function, it will be helpful if any leads on retain the configurations in published version of lambda using CDK.

質問済み 1年前197ビュー
2回答
1

Can you expand a little more on what configuration you are not seeing present? Does your CDK code contain the configurations needed and how are you publishing the stack?

profile picture
bpyle
回答済み 1年前
  • Triggers and Permissions are not getting moved to alias. After debugging it looks like we need to set the Triggers and Permissions needs to set separately to alias via cdk code.

0
承認された回答

Triggers and Permissions and Function urls are not getting moved to alias automatically. After debugging it looks like we need to set the Triggers and Permissions and Function urls needs to set separately to alias via cdk code.

The execution role is reused between alias and $LATEST lambda function.

回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ