-
Notifications
You must be signed in to change notification settings - Fork 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
(lambda): Not able to provision concurrency for the current version of a lambda #13731
Comments
Hi @tmhung88 - Can you check what the CloudFormation template contains against the resource type If that is present, you can also run the Could you try these out and report back? |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
Will set aside some time tomorrow to try again. |
@nija-at I don't see any ProvisionedConcurrencyConfig, or Lambda version in the the template.json. Attached the template json |
Hi @tmhung88 -
You will need to modify your code as - const fn = new lambda.Function(...);
fn.currentVersion; The last line actually creates the |
Thanks. I confirm the provision is done when // The getter call is quite unexpected. It'd be great if the constructor |
|
@rix0rrr Are there any plans to fix this issue? |
Not able to provision concurrency for the current version of a lambda
Reproduction Steps
I have a simple stack below to configure provisioned concurrency for a lambda
What did you expect to happen?
The lambda should have concurrency provisioned as 3
What actually happened?
No concurrency was provisioned
Environment
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: