-
Notifications
You must be signed in to change notification settings - Fork 0
Add pipeline prefixes to S3 bucket for test/synthetic eCRs #370
Copy link
Copy link
Closed
Milestone
Description
Description
Rather than relying on APHL's ecr-data-repository bucket, we'll add pipeline prefixes to the existing dibbs-text-to-code S3 bucket (defined in terraform/s3.tf) for test/synthetic eCRs and pipeline artifacts.
Prefixes needed (mirroring APHL's structure):
- Input: eICR documents, Schematron error files, TTC submission triggers
- Output: TTC output, TTC metadata, augmented eICRs, augmentation metadata
Acceptance Criteria
- Pipeline prefixes added to the existing
dibbs-text-to-codebucket - All prefixes for both lambdas are defined
- S3 event notifications can be attached for SQS triggers
- Bucket policy scoped appropriately for Lambda access
- Test/synthetic eCR data can be uploaded for E2E testing
- Document how prefix structure maps to APHL's
ecr-data-repositorylayout so the transition to production is clear
Notes
The prefix structure should mirror APHL's conventions (TextToCodeValidateSubmissionV2/, AugmentationEICRV2/, etc.) so that switching to their bucket in production is just a configuration change (env vars / TF variables), not a code change.
Depends On
- Update TTC Lambda input and output buckets #349 (prefix finalization)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels