Amazon.Lambda.Annotations - Support suppressing serverless.template file creation
jasonmc86 opened this issue · 2 comments
Describe the feature
The ability to suppress the generation of the "serverless.template" file via a configuration when using Amazon.Lambda.Annotations.
Use Case
Our team's chosen IAC of choice isn't serverless (it's terraform) so we would like the ability to suppress the generation of the "serverless.template" file.
Ideally we have a choice to chose which IAC to generate but suppressing the file will be good enough for now.
Proposed Solution
No response
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
AWS .NET SDK and/or Package version used
Amazon.Lambda.Annotations 1.6.1
Targeted .NET Platform
.NET 8
Operating System and version
Windows, Mac
The serverless.template is written here. Should be feasible to implement the feature request. Needs review with the team.
@jasonmc86 Assuming in your use case terraform template would have to be manually generated, a flag/option would need to be added in global settings (refer example here) which could suppress template generation.
Feel free to contribute PR that could be reviewed by the team.
Thanks,
Ashish