aws / aws/aws-cli

cloudformation package is always generating a new zip

Open
#3,131 46 comments 14 reactions 0 assignees View on GitHub
cloudformation package-deploy customization feature-request p3
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

I have a Golang lambda with the following template:

```
AWSTemplateFormatVersion : '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: Billing Api Create Application

Resources:
BillingCreate:
Type: AWS::Serverless::Function
Properties:
FunctionName: billing-create
Handler: main
CodeUri: ./build
Runtime: go1.x
Policies: AWSLambdaDynamoDBExecutionRole
```

Even when the code didn't change (Go build generates the same compiled code), `aws cloudformation package` command generates a new zip file.

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.