1 year ago

#380922

test-img

Stéphane GRILLON

How to use archive be more than 20 MB when I create AWS codeCommit via AWS CloudFormation?

I want create a new git repository (AWS codeCommit) with any source from a zip file.

I follow AWS official documentation here but I do not find any restriction (20 MB).

Cloudformation:

  MyCodeCommit:
    Type: AWS::CodeCommit::Repository
    Properties:
      RepositoryName: !Sub ${StackName}-myrepo-codecommit
      RepositoryDescription: This is a repository for the myApp part.
      Code:
        S3:
          Bucket: !Sub "${AWS::AccountId}-${StackName}-myApp-source"
          Key: "myApp.zip"

I have this error:

Code archive supplied cannot be more than 20 MB compressed

Is it possible to configure this with more than 20 MB?

amazon-web-services

aws-cloudformation

aws-codecommit

0 Answers

Your Answer

Accepted video resources