mirror of
https://github.com/Sea-Haven-Industries/procurement-ingest.git
synced 2026-09-30 09:33:15 +00:00
* Add CI/CD pipeline and fix stack name to kebab-case CodePipeline V2 (po-ingest-pipeline) triggers CodeBuild on push to main, running cdk deploy via buildspec.yml. Stack name changed from PoIngestStack to po-ingest to match naming conventions. * Add RETAIN policy to Secrets Manager secret Prevents the Anthropic API key from being deleted if the stack is ever removed. Matches the RETAIN policy on all other stateful resources (DynamoDB tables, S3 bucket).
15 lines
436 B
YAML
15 lines
436 B
YAML
version: 0.2
|
|
|
|
phases:
|
|
install:
|
|
runtime-versions:
|
|
python: 3.12
|
|
nodejs: 22
|
|
commands:
|
|
- npm install -g aws-cdk
|
|
- pip install -r cdk/requirements.txt
|
|
- pip install -r lambdas/email_processor/requirements.txt -t lambdas/email_processor/package/
|
|
- cp lambdas/email_processor/handler.py lambdas/email_processor/package/
|
|
build:
|
|
commands:
|
|
- cd cdk && cdk deploy --require-approval never
|