/ecr-attempt

Primary LanguageJavaScriptApache License 2.0Apache-2.0

ecr-attempt

pipeline.yml

deploy pipeline.yml to build a little docker container, put it into ECR, and then deploy it as a lambda from ECR

for proper use, would need:

  • pipeline's kms key to encrypt on build bucket and in ECR
  • permissions so ECR can be used by non-management account
  • perhaps better versioning of image than 'latest'
  • obviously a real Node app would require more complex dockerfile

pipeline-no-ecr.yml and lambda-deployment-no-ecr.yml do not work

I think it might require use of SAM cli to do the new thing where you specify Docker metadata on the template. See ImageUri info for AWS::Serverless::Function (The error I get is saying it's invalid without an ImageUri value.) Also see buildspec.yml using sam deploy command

But anyway, I'm not sure it would let us build once and deploy to many tiers? So it might be a red herring anyway