aws:codebuild
Differences
This shows you the differences between two versions of the page.
aws:codebuild [23/06/2025 10:33] – created andrew | aws:codebuild [23/06/2025 10:36] (current) – andrew | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== Python in Lambda ===== | ===== Python in Lambda ===== | ||
+ | |||
+ | buildspec.yaml | ||
+ | <code python> | ||
+ | version: 0.2 | ||
+ | |||
+ | phases: | ||
+ | install: | ||
+ | commands: | ||
+ | - echo " | ||
+ | - pip install boto3 | ||
+ | |||
+ | build: | ||
+ | commands: | ||
+ | - echo " | ||
+ | - python3 -c 'from reports import lambda_handler; | ||
+ | - echo " | ||
+ | </ | ||
+ | |||
+ | Note the use of '' | ||
+ | |||
aws/codebuild.txt · Last modified: by andrew