cagov / odi-engineering

California Office of Digital Innovation engineering documentation
MIT License
2 stars 0 forks source link

Remove drought AWS resources and recreate redirect as a Lambda function #98

Closed zakiya closed 10 months ago

zakiya commented 10 months ago

Summary of Slack convos with @jbum @zakiya and @xjensen

11/20/2023 - AWS Cloudfront function implemented to redirect all drought.ca.gov requests to cww.water.ca.gov. Cloudfront distribution (and I think the S3 origin) intact for the function to work as intended.

12/21/2023 - ZK spoke to Katie at DWR. They need to talk to IT about taking on the redirect

So let's redo the redirect as a single Lambda function so we can decommission the S3/Cloudfront infrastructure

xjensen commented 10 months ago

I've reimplemented the redirect as a Lambda function. We still need to keep Drought's Cloudfront distribution (because it's a nice way to handle the SSL cert). But everything else can go. I will start dismantling the rest next.

xjensen commented 10 months ago

All done.