-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
r/aws_lambda_function Disable lambda from being triggered by setting reserved_concurrent_executions to 0 #3806
Conversation
Thanks for the change @Puneeth-n! Just keep in mind that people might be relying on 0 as the default value right now, so this is a breaking change. In other words, if someone has a Lambda function with 0 concurrency in the current provider version, their Lambda will run without any limit. But after this change, their existing config (with a 0 value) will stop all invocations of their function This just needs to be very clearly explained in the release notes |
…rent_executions to 0
2f02da7
to
3cdb3f6
Compare
@bflad used the validate function from validators. I noticed that an unrelated test is failing on master.
|
@bflad any update on this? |
@radeksimko @Ninir Can you please review it? :) |
@Puneeth-n sorry this got lost in the shuffle 😅 Could you rebase this and we'll get it in? Thanks so much. |
@bflad Finally :D Sure. Will fix it! |
We're starting to see some duplicate issues/pull requests for this functionality: #5288 I'm still worried that since this could potentially cause production downtime (due to the nature of the change) that we might need to relegate this merge to only happen during the next major version upgrade of the provider, likely in the coming weeks before Terraform 0.12. For now, I'm going to tag this with the |
Is this ever going to be merged in Terraform 0.11.x ? thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much for updating this and your patience, @Puneeth-n! Version 2.0.0 is under development and its finally time to get this in. 🚀
--- PASS: TestAccAWSLambdaFunction_expectFilenameAndS3Attributes (25.78s)
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_ruby25 (40.63s)
--- PASS: TestAccAWSLambdaFunction_basic (42.41s)
--- PASS: TestAccAWSLambdaFunction_versioned (43.17s)
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_java8 (45.94s)
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_python37 (47.47s)
--- PASS: TestAccAWSLambdaFunction_tracingConfig (55.90s)
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_noRuntime (0.51s)
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_NodeJs810 (58.15s)
--- PASS: TestAccAWSLambdaFunction_updateRuntime (58.57s)
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_provided (59.36s)
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_python36 (61.23s)
--- PASS: TestAccAWSLambdaFunction_importLocalFile (62.93s)
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_python27 (67.81s)
--- PASS: TestAccAWSLambdaFunction_VPC (69.12s)
--- PASS: TestAccAWSLambdaFunction_concurrency (72.31s)
--- PASS: TestAccAWSLambdaFunction_nilDeadLetterConfig (27.31s)
--- PASS: TestAccAWSLambdaFunction_importS3 (34.71s)
--- PASS: TestAccAWSLambdaFunction_VPCRemoval (82.75s)
--- PASS: TestAccAWSLambdaFunction_tags (83.08s)
--- PASS: TestAccAWSLambdaFunction_Layers (42.51s)
--- PASS: TestAccAWSLambdaFunction_localUpdate (36.10s)
--- PASS: TestAccAWSLambdaFunction_LayersUpdate (63.71s)
--- PASS: TestAccAWSLambdaFunction_EmptyVpcConfig (33.03s)
--- PASS: TestAccAWSLambdaFunction_s3 (33.53s)
--- PASS: TestAccAWSLambdaFunction_envVariables (95.34s)
--- PASS: TestAccAWSLambdaFunction_concurrencyCycle (98.47s)
--- PASS: TestAccAWSLambdaFunction_DeadLetterConfigUpdated (55.97s)
--- PASS: TestAccAWSLambdaFunction_encryptedEnvVariables (103.52s)
--- PASS: TestAccAWSLambdaFunction_localUpdate_nameOnly (46.41s)
--- PASS: TestAccAWSLambdaFunction_s3Update_unversioned (49.28s)
--- PASS: TestAccAWSLambdaFunction_s3Update_basic (47.92s)
--- PASS: TestAccAWSLambdaFunction_importLocalFile_VPC (45.58s)
--- PASS: TestAccAWSLambdaFunction_versionedUpdate (54.07s)
--- PASS: TestAccAWSLambdaFunction_DeadLetterConfig (58.46s)
--- PASS: TestAccAWSLambdaFunction_VPCUpdate (65.26s)
--- PASS: TestAccAWSLambdaFunction_VPC_withInvocation (113.21s)
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
closes #3803