-
Notifications
You must be signed in to change notification settings - Fork 25
Updating CloudFront Security Headers
Tiffany edited this page May 11, 2022
·
4 revisions
- Log in to AWS
- Navigate to AWS Lambda
- Find the Lambda you want to update, identified by _staging and _production respectively
- Make desired changes to the CloudFront Security Headers in the Code source area
- Click Deploy
- Click Actions > Publish New Version, add description of what the change is
Potential Gotcha, make sure you have chosen the correct CloudFront Distribution for the correct environment*
- This will navigate you to the new version, click back up one level to the Lambda you just changed so that you can deploy the changed you just made and published.
- Actions > Deploy to Lambda@Edge (you will do this twice per Security Header changed)
- Click the radio button to "Use existing CloudFront trigger on this function" and choose
Cache behavior: *
CloudFrount event: origin-response
Include body: false
- Repeat steps 8-10 and this time choose:
Cache behavior: index.html
CloudFrount event: origin-response
Include body: false
Note: If you are updating both Staging and Production CloudFront Security Headers you will need to "Deploy to Lambda@Edge" four times total.
Note: The easiest way to identify the appropriate Cloudfront Distribution is to go to the CloudFront section of AWS, click on "Distributions" and look at the "Alternate Domain Names," then make a note of the Distribution ID.
- Team Working Agreement
- Team composition
- Workflows and processes
- Testing and bug filing
- Accessing eAPD
- Active Documentation:
- Sandbox Environment
- Glossary of acronyms
- APDs 101
- Design iterations archive
- MMIS Budget calculations
- HITECH Budget calculations
- Beyond the APD: From Paper to Pixels
- UX principles
- User research process
- Visual styling
- Content guide
- User research findings
- eAPD pilot findings
- User needs
- Developer info
- Development environment
- Coding Standards
- Development deployment
- Infrastructure Architecture
- Code Architecture
- Tech 101
- Authentication
- APD Auto Saving Process
- Resetting an Environment
- Hardware Software List
- Deploying Staging Production Instances Using Scripts
- Terraform 101 for eAPD
- Provisioning Infrastructure with Terraform
- WebSocket basics
- Operations-and-Support-Index
- Single Branch Deployment Strategy
- Ops and Support Overview
- Service Level AOI
- Incident Response Plan
- On-Call Policy
- Infrastructure Contingency Plan
- Updating CloudFront Security Headers
- Requesting and Installing TLS Certificates