Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

[Exploration] Next steps for the SAM transform #2319

Closed
praneetap opened this issue Feb 8, 2022 · 4 comments
Closed

[Exploration] Next steps for the SAM transform #2319

praneetap opened this issue Feb 8, 2022 · 4 comments
Assignees
Labels
stage/needs-feedback Needs feedback from the community (are you also interested in/experiencing this?)

Comments

@praneetap
Copy link
Contributor

As we think about where to take SAM Transform next, we are seeking community feedback on what would be the most useful feature. Please tell us via comments, what is your main challenge with SAM? Which of these options would benefit you the most, and in what order of priority?

Feel free to comment on this issue with your ideas/use-cases.

  1. Making “AWS::Serverless::*” resources available via the CloudFormation registry (or the Cloud Control API)
  2. Support for “AWS::Serverless::*” resources beyond CloudFormation (e.g. Terraform)
  3. Support for “AWS::Serverless:*” resources covering more resource types
  4. Support for “AWS::Serverless:*” resources that encapsulate higher-level patterns and best practices
@moelasmar moelasmar added the stage/needs-feedback Needs feedback from the community (are you also interested in/experiencing this?) label Feb 9, 2022
@praneetap praneetap self-assigned this Feb 9, 2022
@jfuss jfuss pinned this issue Feb 9, 2022
@PatMyron
Copy link
Contributor

PatMyron commented Mar 25, 2022

Number 1 would start with #1133

@Jacco
Copy link
Contributor

Jacco commented May 10, 2022

I vote 3/4.

One of the most promising projects I have seen recently is https://github.com/awslabs/aws-solutions-constructs which builds on CDK. I think SAM can benefit from a lot of the relations they make between service resources.

Other ideas I have:

  • support deploying stacks in/as stacksets (for example for landing zones)
  • support deploying as a service catalog product (with version management)
  • go one step further than Solution Constructs: add some logic, standardized configurable lambda actions

A lambda implementation essentially always follows the same structure:

  • receive some json
  • use this json to send some json to some service(s)
  • if required return some transformation of these jsons as a response

In a large cloud setup you often need a lot of lambda doing simple tasks:

  • custom config -> lambda -> securityhub
  • securityhub -> lambda -> JIRA
  • rule -> lambda -> report something to s3
  • queue -> lambda -> http request
  • dynamodb -> lambda -> queue

It would be great to make these steps easier :-) The code would not be code of this actual application business logic but only the code you want to be immutable. The glue between the different services.

@hoffa
Copy link
Contributor

hoffa commented Nov 21, 2022

Number 1 would start with #1133

FWIW we've started work on it, see #1133 (comment).

@jplock
Copy link

jplock commented Nov 22, 2022

What about extending AWS::Serverless::* beyond the traditional Lambda-based EDA patterns?

Examples:

  • CloudFront + S3 for static content hosting (I've been maintaining a ServerlessRepo project called cloudfront-cdn as an example that sets up IPv4/IPv6, optional www redirect support, multiple origins [APIGW and/or AppSync])
  • Containers (either AppRunner or ECS/Fargate)

@hoffa hoffa pinned this issue Nov 22, 2022
@hoffa hoffa changed the title [Exploration] Next steps for the SAM Transform [Exploration] Next steps for the SAM transform Nov 22, 2022
@hoffa hoffa unpinned this issue Nov 25, 2022
@aws aws locked and limited conversation to collaborators Dec 7, 2022
@hoffa hoffa converted this issue into discussion #2710 Dec 7, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
stage/needs-feedback Needs feedback from the community (are you also interested in/experiencing this?)
Projects
None yet
Development

No branches or pull requests

6 participants