This is a small Heroku project in charge of weekly exports of our EAD files from the ArchivesSpace API to S3. Most of the documentation for this project is on GitHub, but here are some extra links:
including Terraform management for the S3 bucket and the IAM user and policy
Basic commands:
cd export_archivesspace_xml/terraform
;terraform init
;terraform plan
. The terraform accurately describes the facts on the ground in AWS as of January 2022.Note that the shared state is stored in AWS as well, using the same technique as scihist-digicoll.
Note: we currently have 3 Heroku add-ons: Proximo for proxying ($5 / month); Papertrail for logging (free); and the Heroku Scheduler to actually spin up the task (free).
CNAME ead.sciencehistory.org, which points to the s3 bucket
IAM user that can access the bucket
IAM policy granting that user access to the bucket
...