Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose and background context
Align the file naming and function naming with the infrastructure updates in mitlib-tf-workloads-libraries-website PR#50.
Fundamentally, the porimary change here is the name of the Python function in the
lambda_edge.py
file. The other changes here are updates to the various tests (so that they use the new function name) and an ADR to match up to mitlib-tf-workloads-libraries-website ADR#8.Additionally, we add the prod deploy GitHub Actions workflow.
How can a reviewer manually see the effects of these changes?
This is already deployed in Dev1. This Lambda@Edge function handles the origin-request routing for requests to our "custom domain" CDN. You can verify that this is working correctly by visiting
What happens next
PR#50 has been approved, but not yet merged to
stage
nor deployed in Stage-Workloads. There is also the pending cf-lambda-geo-auth PR#2 that needs to be approved. Once all three of these PRs are approved, the following will be the next steps.main
and verify that the updated.zip
file is pushed to theshared-files-xxxx
S3 bucket in Stage-Workloads..zip
file is pushed to theshared-files-xxxx
S3 bucket in Stage-Workloads.stage
and then deploy the updated infrastructure to Stage-Workloads.Includes new or updated dependencies?
NO
Changes expectations for external applications?
NO
What are the relevant tickets?
Developer
Dev CF Lambda@Edge Full Deploy
workflow has been run to update CloudFront in Dev1Code Reviewer(s)