The CLI's slice add-variation and slice edit-variation commands upload screenshots through the legacy acl-provider service. The service is being replaced with a new screenshot service that plugs into the existing API Gateway and Lambda authorizer (avoiding the CORS/auth issues on the legacy service).
The current implementation lives in src/clients/custom-types.ts (uploadScreenshot, getAclProviderUrl).
The legacy service won't be shut down immediately, so there's no rush — current consumers of acl-provider are safe. We should migrate once the new service is ready.
References:
The CLI's
slice add-variationandslice edit-variationcommands upload screenshots through the legacyacl-providerservice. The service is being replaced with a new screenshot service that plugs into the existing API Gateway and Lambda authorizer (avoiding the CORS/auth issues on the legacy service).The current implementation lives in
src/clients/custom-types.ts(uploadScreenshot,getAclProviderUrl).The legacy service won't be shut down immediately, so there's no rush — current consumers of
acl-providerare safe. We should migrate once the new service is ready.References:
/deleteendpoint): https://www.notion.so/prismic/ACL-Provider-Obelix-Screenshot-Service-Migration-3433bee0866980ad81e1d03d998dc392