Skip to content

Instantly share code, notes, and snippets.

@prakshalj0512
Created September 1, 2020 23:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prakshalj0512/7b679f4ccbaf94de66b9cf7704b3db65 to your computer and use it in GitHub Desktop.
Save prakshalj0512/7b679f4ccbaf94de66b9cf7704b3db65 to your computer and use it in GitHub Desktop.
CodePipeline BuildSpec
version: 0.2
phases:
build:
commands:
- . scripts/deploy.sh
- sam package --template-file template.yaml --s3-bucket ${S3_BUCKET} --output-template-file packaged.yaml
artifacts:
files:
- "packaged.yaml"
discard-paths: yes
@madankumar-t
Copy link

if I have multiple lambda functions and only one repository , each lambda code is in separate folder under one repo, any insights on this.

@ayubmulla1
Copy link

if I have multiple lambda functions and only one repository , each lambda code is in separate folder under one repo, any insights on this.

Even I have the same scenario

@zain-annalect
Copy link

any solution for having multiple lambda functions and only one repository?

@ayubmulla1
Copy link

any solution for having multiple lambda functions and only one repository?

@iftikhan
Copy link

iftikhan commented May 9, 2022

In bash file add logic to iterate through all lambdas, simple.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment