-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Provision Concurrency does not update #1425
Comments
I have a similar issues where by I want to update Environment variables and have this trigger a deployment, but this doesn't appear to affect any change. |
@brightsparc we have a fix rolling out soon which might help with this #1376. |
are you still experiencing this issue? |
I did the following:
Replaced AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Globals:
Function:
Timeout: 3
Runtime: nodejs14.x
Resources:
MyFunction:
Type: AWS::Serverless::Function
Properties:
AutoPublishAlias: live
ProvisionedConcurrencyConfig:
ProvisionedConcurrentExecutions: 1
DeploymentPreference:
Type: AllAtOnce
Tracing: Active
CodeUri: hello-world/
Handler: app.lambdaHandler
Timeout: 10 Deployed:
Then deployed again with Closing as this seems to be fixed. |
Description:
We have a lambda function that is being deployed with the AWS SAM cli. On the first creation, the provisioned concurrency gets set correctly. However, if I make an update to the concurrency number and update the stack, the lambda function does not show the change.
For example, if I am creating my stack with a serverless function with the template below, it shows on the AWS Lambda console that the provisioned concurrency is 1.
Up to this point, everything seems correct, but if I want to update the stack and change the provisioned concurrency number, the AWS Lambda console does not reflect the update. For example, I would expect to see the provision concurrency on the console to be 100, but it stays as 1.
Steps to reproduce the issue:
Observed result:
Running an update on the stack with a different provision concurrency does not update the concurrency number in the AWS Lambda console.
Expected result:
Running an update with changes to the lambda function provision concurrency to update the provision concurrency number on the AWS Lambda console
Work Around
Updating with AWS CLI seems to work correctly.
The text was updated successfully, but these errors were encountered: