terraform-aws-modules/terraform-aws-lambda

Lambda Qualified Invoke ARN

jemerald opened this issue · 3 comments

Is your request related to a new offering from AWS?

No

Is your request related to a problem? Please describe.

We are using lambda with provisioned concurrency exposed through HTTP API gateway

Currently the Lambda resource output variable has lambda_function_arn, lambda_function_qualified_arn and lambda_function_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 we set.

Describe the solution you'd like.

qualified_invoke_arn was added to the provided 3 months ago - hashicorp/terraform-provider-aws#26439

Please update the module to expose new output variable lambda_function_qualified_invoke_arn

Describe alternatives you've considered.

Can work around this by doing:

replace(
    module.lambda_api.lambda_function_invoke_arn,
    module.lambda_api.lambda_function_arn,
    module.lambda_api.lambda_function_qualified_arn
)

but that is a really ugly hack.

Additional context

NA

This issue has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this issue will be closed in 10 days