Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UI stack and hook up CORS origin #819

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

chriswilty
Copy link
Member

Description

This is the UI stack, containing the resources needed for deploying the web application.

Resolves #388

Notes

Pretty lightweight! The resources are

  • bucket containing the UI bundle
  • cloudfront distribution, serving the UI resources (and managing the cache)

We can also now add the web URL to CORS allowed origins on the backend, and to the auth stack to allow redirecting back to the UI after successful authentication.

Note that the UI bundle itself is not an AWS resource, that's just the content that will be uploaded into the bucket. Currently that part is manual, but once the pipeline is added, it'll be auto-deployed during the build process.

Checklist

Have you done the following?

  • Linked the relevant Issue
  • Added tests
  • Ensured the workflow steps are passing

Base automatically changed from 807-cdk-auth-stack to feature/aws-cloud-infrastructure February 13, 2024 16:35
@chriswilty chriswilty merged commit 7c3f68c into feature/aws-cloud-infrastructure Feb 13, 2024
1 check passed
@chriswilty chriswilty deleted the 388-cdk-ui-stack branch February 13, 2024 16:40
chriswilty added a commit that referenced this pull request Feb 22, 2024
chriswilty added a commit that referenced this pull request Feb 29, 2024
chriswilty added a commit that referenced this pull request Mar 4, 2024
chriswilty added a commit that referenced this pull request Mar 8, 2024
chriswilty added a commit that referenced this pull request Mar 19, 2024
chriswilty added a commit that referenced this pull request Mar 21, 2024
chriswilty added a commit that referenced this pull request Mar 28, 2024
chriswilty added a commit that referenced this pull request Apr 11, 2024
chriswilty added a commit that referenced this pull request Apr 15, 2024
chriswilty added a commit that referenced this pull request Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI stack for front-end deployment
2 participants