hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.82k stars 9.17k forks source link

[Enhancement]: "When I try to deploy the aws_lambda_function_concurrency resource in Terraform, I receive an error stating, 'The provider provider.aws does not support resource type.' I have checked that the AWS provider version is between >=4.66.1 and <4.67.0." #38933

Open nsarath92 opened 2 months ago

nsarath92 commented 2 months ago

Description

"When I try to deploy the aws_lambda_function_concurrency resource in Terraform, I receive an error stating, 'The provider provider.aws does not support resource type.' I have checked that the AWS provider version is between >=4.66.1 and <4.67.0."

Affected Resource(s) and/or Data Source(s)

No response

Potential Terraform Configuration

No response

References

No response

Would you like to implement a fix?

None

github-actions[bot] commented 2 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

justinretzolk commented 2 months ago

Hey @nsarath92 👋 Thank you for taking the time to raise this! Are you perhaps looking for the aws_lambda_provisioned_concurrency_config resource? There is not a resource called aws_lambda_function_concurrency in the provider.

nsarath92 commented 2 months ago

Thank you for your time to reviewing this. Actually I want to reserve the concurrency limit to 1.

justinretzolk commented 2 months ago

I'm not sure I follow @nsarath92. Initially, you reported that the provider printed an error stating that the aws_lambda_function_concurrency resource does not exist. I've confirmed that there's not a resource called aws_lambda_function_concurrency, but we do have one called aws_lambda_provisioned_concurrency_config that is used to configure a Lambda function's concurrency.

Can you confirm whether the aws_lambda_provisioned_concurrency_config resource will work for what you're trying to achieve?

justinretzolk commented 12 hours ago

Hey @nsarath92 👋 I wanted to check in here to see if you were still having troubles, or if we're able to close this issue out.