# ABACUS DEV

## Components

### OWS

- ows-royalties
- ows-payee
- ows-ledger
- ows-payment
- ows-abacus-event
- ows-abacus-contract

### LAMBDA

- lambda-abacus-snapshot-contract
- lambda-abacus-snapshot-adjustments
- lambda-abacus-snapshot-exchange-rates

### OTHER

- ows-royalties-workflows
- ows-grass (?)

### AWS Assets

- dev-royalties-sales-files (S3)
- dev-payee-payment-info (DynamoDB)

## Scripts

Scripts in the `aws_sync` folder can sync EMR's jars and ECR's images from
qa to dev.

- `sync_ecr.sh`: Pull down the list of the latest ecr images from qa and push them to prod, creating the repository if it doesn't exist.
- `sync_jars.sh`: Sync down the latest code file from qa S3 and then sync it to dev.

## Terraform

the `dev` folder contains the terraform definitions for the environment, minus
access related definitions.

To refresh a fargate or lambda instance, its easiest to delete the instance
and redeploy via the cli.
