aws / aws-lambda-dotnet

Libraries, samples and tools to help .NET Core developers develop AWS Lambda functions.
Apache License 2.0
1.55k stars 476 forks source link

Amazon.Lambda.Annotations with Terraform #1704

Open ashishdhingra opened 3 months ago

ashishdhingra commented 3 months ago

Discussed in https://github.com/aws/aws-lambda-dotnet/discussions/1693

Originally posted by **matiaspecile** March 11, 2024 Hi, The Amazon.Lambda.Annotations documentation states that only CloudFormation deployments are currently supported: _Lambda Annotations can be added to existing projects. Lambda Annotations does require that deployment of existing projects is done using a CloudFormation template. In the future Lambda Annotations may support other deployment technologies._ Is there any progress towards providing support for other deployment methods (Terraform specifically for my use case)? Is there any way to make this work with Terraform today, even if the approach is of an experimental nature?
benallred commented 3 months ago

(I'm just a user sharing his experience) I've got lambda annotations working with terraform. I found a blog post that had enough pointers to figure out what I needed. With the dots I connected from that post, it was relatively straightforward to get working.