Skip to content

Multiple distributions for multiple origin paths #1

@smaira

Description

@smaira

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions