Closed cdominguezg closed 1 year ago
This might be a duplicate of #82 or #256?
Yeah, @mnapoli, sorry, is corresponding to #256. Anyway, I have the same issue with the origin in the last comment. I've forked the repo and I'm working on it :)
👍 got it I'll be closing this one.
Start from the Use-case
I'm trying to deploy a SPA that make some calls to an API Gateway with Lambda Integration. I need to define the origin in the distribution for these API calls, but when I try to do it through the extensions I got the following message:
Invalid request provided: One or more of your cache behavior target origins or origin groups do not exist.
I think it's due to the default origin or maybe the new origin is not created before setting the CacheBehaviors.
Example Config
Implementation Idea
I think there are two ways to do that.
Maybe there is a way to solve that yet, but I've not achieved