Commit f6529cdd authored by Neil Spink's avatar Neil Spink

fix update lambda

parent c95330d4
Pipeline #39525849 failed with stages
in 4 minutes and 27 seconds
......@@ -50,8 +50,8 @@ deploy:
- aws s3 cp deployment/website-monitor-list.yml s3://$S3_BUCKET/
- aws cloudformation package --template-file ./deployment/aws-create-lambda.json --s3-bucket $S3_BUCKET --output-template template-export.yml
- aws cloudformation deploy --template-file template-export.yml --stack-name aws-lambda-price-grabber-stack --capabilities CAPABILITY_IAM --no-fail-on-empty-changeset
- aws lambda update-function-code --function-name aws-lambda-price-grabber --s3-bucket $S3_BUCKET --s3-key source.zip
- aws lambda update-function-code --function-name aws-lambda-invoker --s3-bucket $S3_BUCKET --s3-key source.zip
- aws lambda update-function-code --function-name grab-price --s3-bucket $S3_BUCKET --s3-key source.zip
- aws lambda update-function-code --function-name grab-invoke --s3-bucket $S3_BUCKET --s3-key source.zip
artifacts:
paths:
- ./template-export.yml
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment