aws / serverless-application-model

The AWS Serverless Application Model (AWS SAM) transform is a AWS CloudFormation macro that transforms SAM templates into CloudFormation templates.
https://aws.amazon.com/serverless/sam
Apache License 2.0
9.33k stars 2.38k forks source link

Feature request: Git sync #3581

Closed kaihendry closed 4 months ago

kaihendry commented 5 months ago

Describe your idea/feature/enhancement

Does AWS SAM support Cloudformation Git sync?

git-sync

hnnasit commented 5 months ago

Hi @kaihendry, thanks for the feature request. I'm reading up on the new CloudFormation feature and since SAM templates are built on top of CloudFormation templates, this might work out of box? I'm transferring this issue to the SAM team to provide more insights.

moelasmar commented 5 months ago

Hi @kaihendry, Does your template contain Serverless Lambda Functions where it is referring to local path where the function code exist. if this is correct, so CFN team will not able to do the preprocessing that SAM CLI do where it build and package the local code into zip files, and then upload it to S3 before doing the real deployment.

So, if your question about this pre-processing, so this feature does not support that.

aaythapa commented 4 months ago

Closing this for now, please re-open if needed

github-actions[bot] commented 4 months ago

This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one.