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

[Bug]: The upper limit of maximum_concurrency in resource aws_lambda_event_source_mapping restricts the provisioning #37975

Closed
prince310501 opened this issue Jun 14, 2024 · 3 comments · Fixed by #37980
Labels
bug Addresses a defect in current functionality. service/lambda Issues and PRs that pertain to the lambda service.
Milestone

Comments

@prince310501
Copy link
Contributor

Terraform Core Version

1.3.6

AWS Provider Version

5.51.0

Affected Resource(s)

  1. aws_lambda_event_source_mapping

Expected Behavior

Terraform apply should succeed

Actual Behavior

Terraform fails in plan stage

Relevant Error/Panic Output Snippet

╷│ Error: expected scaling_config.0.maximum_concurrency to be in the range (2 - 1000), got 1200││ with module.wmecomm_smartalert_message_tracking_lambda.module.sqs_event_source_mapping.aws_lambda_event_source_mapping.sqs_event_source_mapping["sqs_event"]

Terraform Configuration Files

NOTE : The concurrent executions limit for this account is set to 10000 by raising a service quoata increase ticket

provider "aws" {
  region     = var.aws_region
}

resource "aws_lambda_event_source_mapping" "example" {
  event_source_arn = "arn:aws:sqs:<region>:<accountid>:dummy-sqs"
  function_name    = "arn:aws:lambda:<region>:<accountid>:function:dummy-lambda"
  scaling_config{
    maximum_concurrency = 1200
  }
}

Steps to Reproduce

terraform init
terraform apply

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

Yes

@prince310501 prince310501 added the bug Addresses a defect in current functionality. label Jun 14, 2024
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added the service/lambda Issues and PRs that pertain to the lambda service. label Jun 14, 2024
@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label Jun 14, 2024
@justinretzolk justinretzolk removed the needs-triage Waiting for first response or review from a maintainer. label Jun 14, 2024
Copy link

Warning

This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them.

Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed.

@github-actions github-actions bot added this to the v5.55.0 milestone Jun 18, 2024
Copy link

This functionality has been released in v5.55.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Addresses a defect in current functionality. service/lambda Issues and PRs that pertain to the lambda service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants