Completion Report: Amazon Client Integration v1
Completed: 2026-05-08 (v1 prod rollout) · 2026-05-11 (PDEV-452 follow-up merge) Linear: PDEV-446 (technical sub-ticket of project umbrella PDEV-445)
What shipped
Section titled “What shipped”The v1 capability that lets a future user-interaction surface create an Item directly from an Amazon URL or ASIN. The pieces delivered by this project:
- BFF route
/api/amazon/importinarda-frontend-app, wrapping Amazon’s Creators API viaamazon-creators-api@1.2.2, returning the v1 DTO (name,image,price,unitCount,unit,upc,asin,productUrl) with proxy/adaptor null-pass-through semantics and HTTP 206 for sparse upstream responses. - Shared utilities in
arda-frontend-app/src/lib/shared/amazon/:extractAsin,buildAffiliateUrl, v1 DTO types,MARKETPLACEconstant. - Operations change —
ItemPrinter.signImageUrlpasses Amazon-hosted (non-CDN) image URLs through unchanged at print time. - Infrastructure — the four
AMAZON_*runtime credentials delivered to each of the four partitions (dev,stage,demo,prod) via the 1Password → AWS Secrets Manager → Amplify env-var pipeline. Includes thepartitionSecretsCFN resource,amplify.cfn.yamlenv-var entries (full-IaC partitions), and theamm.shjq-merge injection for partial-IaC partitions. Plus an inline-BuildSpecdrift check on every partition deploy and a one-time clear of stale inline build specs across all four Amplify apps. - Operator runbook at
process/sre/runbooks/amazon-creators-api-onboarding.mdcovering Account Holder registration, Application creation, credential handover to devOps, per-partition vault provisioning, deploy choreography, and end-to-end verification.
Merged PRs
Section titled “Merged PRs”| Stream | Repository | PR | Merged |
|---|---|---|---|
| BFF | arda-frontend-app | #832 | 2026-05-08 |
| Item-module | operations | #169 | 2026-05-08 |
| Infrastructure | infrastructure | #451 | 2026-05-08 |
| Operator | documentation | #75 | (this PR — wraps the project) |
| Infrastructure follow-up — PDEV-452 | infrastructure | #452 | 2026-05-11 |
Rollout outcome
Section titled “Rollout outcome”Rolled out dev → stage → demo → prod on 2026-05-08. Dev / stage / demo were uneventful. Prod aborted at the inline-BuildSpec drift check because the aws amplify get-app call ran against the configured CLI region (us-east-1) while Alpha001:prod’s Amplify app lives in us-east-2 (historical anomaly). Worked around in-place by setting the four AMAZON_* env vars manually so the front-end deploy could proceed, then back-filled the proper fix as infrastructure#452 (PDEV-452) — amm.sh now resolves a per-partition amplify_region from AMPLIFY_REGION_OVERRIDES and passes --region explicitly on every internal aws amplify ... call.
Byproducts
Section titled “Byproducts”Per-stream byproducts live in each stream’s byproducts/ subdirectory:
- BFF — changelog, task-plan-post, learnings
- Item-module — changelog, task-plan-post, learnings
- Infrastructure — changelog, task-plan-post, learnings
- Operator — changelog, task-plan-post, learnings
What was deferred
Section titled “What was deferred”- The user-facing surface that calls
/api/amazon/importfrom the Arda UI. That capability is owned by a follow-up project on another team member’s scope (pergoal.md). - Non-US Amazon marketplaces. v1 hard-codes
MARKETPLACE = "www.amazon.com"; multi-marketplace support is out of scope. - A workflow / batch path. v1 is a single-ASIN BFF route; there is no queue, batch import, or background job.
Copyright: © Arda Systems 2025-2026, All rights reserved