Skip to content

Amazon.Lambda.Annotations - Support suppressing serverless.template file creation #1983

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

Open
1 of 2 tasks
jasonmc86 opened this issue Feb 17, 2025 · 2 comments
Open
1 of 2 tasks
Labels
annotations feature-request A feature should be added or improved. p3 This is a minor priority issue queued

Comments

@jasonmc86
Copy link

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

@jasonmc86 jasonmc86 added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Feb 17, 2025
@ashishdhingra ashishdhingra added annotations investigating This issue is being investigated and/or work is in progress to resolve the issue. p2 This is a standard priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Feb 18, 2025
@ashishdhingra
Copy link
Contributor

The serverless.template is written here. Should be feasible to implement the feature request. Needs review with the team.

@ashishdhingra ashishdhingra added needs-review and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Feb 18, 2025
@ashishdhingra
Copy link
Contributor

@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

@ashishdhingra ashishdhingra added p3 This is a minor priority issue queued and removed needs-review p2 This is a standard priority issue labels Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
annotations feature-request A feature should be added or improved. p3 This is a minor priority issue queued
Projects
None yet
Development

No branches or pull requests

2 participants