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

Lambda Qualified Invoke ARN #26439

Closed
fishcharlie opened this issue Aug 23, 2022 · 5 comments · Fixed by #26592
Closed

Lambda Qualified Invoke ARN #26439

fishcharlie opened this issue Aug 23, 2022 · 5 comments · Fixed by #26592
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/lambda Issues and PRs that pertain to the lambda service.
Milestone

Comments

@fishcharlie
Copy link
Contributor

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • 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
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Currently the Lambda resource has qualified_arn and invoke_arn. But there is no Invoke ARN for the Qualified ARN. This means when passing it into API Gateway, it doesn't use the provisioned capacity you might have set.

You can work around this by doing: replace(aws_lambda_function.function.invoke_arn, aws_lambda_function.function.arn, aws_lambda_function.function.qualified_arn), but that is a really ugly hack.

New or Affected Resource(s)

NA

Potential Terraform Configuration

NA

References

NA

@fishcharlie fishcharlie added the enhancement Requests to existing resources that expand the functionality or scope. label Aug 23, 2022
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Aug 23, 2022
@justinretzolk justinretzolk added service/lambda Issues and PRs that pertain to the lambda service. and removed needs-triage Waiting for first response or review from a maintainer. labels Aug 23, 2022
@teddylear
Copy link
Contributor

@fishcharlie @justinretzolk I can take a look at this if that's alright

@fishcharlie
Copy link
Contributor Author

@teddylear Good with me. I haven't really looked at this code base at all, so it'd be greatly appreciated!

@teddylear
Copy link
Contributor

@fishcharlie Created a PR to hopefully resolve issue. Please let me know if there are any questions or concerns.

@github-actions github-actions bot added this to the v4.31.0 milestone Sep 12, 2022
@github-actions
Copy link

This functionality has been released in v4.31.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!

@github-actions
Copy link

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/lambda Issues and PRs that pertain to the lambda service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants