cisagov / cyhy-system

Cyber Hygiene system and overall documentation/issue tracking
Creative Commons Zero v1.0 Universal
6 stars 0 forks source link

Import GNIS data using a Lambda #111

Open mcdonnnj opened 11 months ago

mcdonnnj commented 11 months ago

💡 Summary

We should use an AWS Lambda to import GNIS data.

Motivation and context

With the suggestion in #110 that we allow records to update whenever the database instance is redeployed it makes sense to migrate this functionality to a Lambda and let it run on a regular trigger instead. This helps remove reliance on EC2 instances and a Lambda is a suitable replacement implementation.

Implementation notes

This will require a new AWS Lambda as well as a Terraform module to deploy it which can be used by the Terraform configuration in cisagov/cyhy_amis. I believe we should implement #110 as part of this unit of work to simplify things (and migrate to Python 3).

Acceptance criteria