Hey - I want to extend this that it works for multiple distributions setup for multiple origin paths in the same bucket. Can the same KMS and CloudFront key pair work for this? What would I specify in the websiteDomain attribute for config.json ?
example :
myBucket
->folder-a -> folder-a.mysite.com
->folder-b -> folder-b.mysite.com
I want to use different credentials to log into the 2 sites.
Will I need to create multiple lambda functions - 1 per site or can I just use a single one with some params?
Thanks