aws-amplify / aws-amplify/amplify-cli

Amplify updates lambda CFN templates on each push

Open
#3,068 10 comments 8 reactions 0 assignees View on GitHub
feature-request functions multienv p3 strategic
Dominant language
TypeScript
Stars
2.9k
Forks
825
Avg merge
11d 23h
Merged PRs (30d)
2

Description

When creating lambda functions through `amplify function add` amplify creates CloudFormation template. This template is meant to be stored in the git repository (because it describes lambda and can have manual changes). The problem is that on each `amplify push` this file is modified with the following lines:
```
"Code": {
"S3Bucket": "",
"S3Key": ""
}
```

Later you need to either manually rollback files in git or resolve merge conflicts for those lines which makes no sense.

I propose to not update those files and perform all generation in the temp files

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.