You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specific use-case is deploying multiple versions of the app based on the the current git branch, as highlighted by the docs.
You can also specify a path: app.example.com/something. This can be useful to deploy multiple versions of an app in the same s3 bucket. For example one could deploy a feature branch of the SPA like this:
While it is possible to remove the branch name from app.example.com/<branch>, it would be helpful to allow configuring the default root object served when no branch path is given.
Example: Deploying and having the default release branch be main;
app.example.com -> main/index.html (default)
app.example.com/main -> main/index.html
app.example.com/next -> next/index.html
app.example.com/new-feature -> new-feature/index.html etc.
Open to putting up a PR for the changes needed
The text was updated successfully, but these errors were encountered:
iamogbz
changed the title
[Feature request] Allow specification of DefaultRootObject when creating cloud front distribution
[Feature request] Allow specification of DefaultRootObject when creating/updating cloudfront distribution
Jan 7, 2024
Specific use-case is deploying multiple versions of the app based on the the current git branch, as highlighted by the docs.
While it is possible to remove the
branch
name fromapp.example.com/<branch>
, it would be helpful to allow configuring the default root object served when no branch path is given.Example: Deploying and having the default release branch be
main
;app.example.com
->main/index.html
(default
)app.example.com/main
->main/index.html
app.example.com/next
->next/index.html
app.example.com/new-feature
->new-feature/index.html
etc.Open to putting up a PR for the changes needed
The text was updated successfully, but these errors were encountered: