PageVigil screenshots your webpages and stores the screenshots in S3.
A Lambda runs minutely to screenshot the pages stored in config.yml. It stores those screenshots in an S3 bucket.
The Lambda uses a container image. The image is a public image generated from this repository.
Unfortunately, Lambdas can only use images in private ECR repositories.
Therefore, this creates a private ECR repo and copies the latest version to your private ECR repo.
All the Terraform required to set this up is in the terraform
folder of this repository.
All you need to do is update your local config.yml
with your desired webpages.
You must have both Terraform and Docker running the machine running the Terraform
- Clone or fork the repository
- Update
config.yml
with the list of webpages you want to follow - Update
terraform/terraform.tfvars
with- The email to be used for errors (
errors_email
) - The frequency at which you want to screenshot the images (
frequency
)
- The email to be used for errors (
- Plan and apply the Terraform