cloudtools / troposphere

troposphere - Python library to create AWS CloudFormation descriptions
BSD 2-Clause "Simplified" License
4.93k stars 1.45k forks source link

Support for AWS Serverless Application Model (SAM) #617

Open gehadshaat opened 7 years ago

gehadshaat commented 7 years ago

Thanks to all troposphere contributors!

Amazon just introduced AWS SAM https://aws.amazon.com/about-aws/whats-new/2016/11/introducing-the-aws-serverless-application-model/

This will simplify defining serverless applications with cloudformation. What would be the plan to support SAM in troposphere. I would love to help enable SAM in troposphere.

tdi commented 7 years ago

Hi what is the status on this? Do you need help adding support for this?

johnculkin commented 7 years ago

This sounds like a good idea but I'd like to know more. Would anyone be able to give a high level overview of how you see this being used?

hammy7867 commented 7 years ago

It looks like it has already been done: https://github.com/cloudtools/troposphere/pull/754

tdi commented 7 years ago

@hammy7867 this link is non existing.

johnculkin commented 7 years ago

@tdi Try this one - https://github.com/cloudtools/troposphere/pull/754

hammy7867 commented 7 years ago

@tdi Sorry about that, thanks @johnculkin!

scoates commented 6 years ago

Looks like this issue can be closed.

PatMyron commented 4 years ago

Supported Serverless resource types: https://github.com/cloudtools/troposphere/blob/a28753d7532a5177b85ee0838de2f78bb128d6d0/troposphere/serverless.py#L198 https://github.com/cloudtools/troposphere/blob/e0f111750c77f71d30c3aec8d30b38ea5f46f476/troposphere/serverless.py#L632 https://github.com/cloudtools/troposphere/blob/a28753d7532a5177b85ee0838de2f78bb128d6d0/troposphere/serverless.py#L70 https://github.com/cloudtools/troposphere/blob/e0f111750c77f71d30c3aec8d30b38ea5f46f476/troposphere/serverless.py#L443 https://github.com/cloudtools/troposphere/blob/a28753d7532a5177b85ee0838de2f78bb128d6d0/troposphere/serverless.py#L246 https://github.com/cloudtools/troposphere/blob/a28753d7532a5177b85ee0838de2f78bb128d6d0/troposphere/serverless.py#L234


Unsupported Serverless resource types:

AWS::Serverless::StateMachine


+1 https://github.com/aws/serverless-application-model/issues/1133 for up-to-date support