# Create Asset Finals

## What triggers this function?

Only run locally currently.

## What does this function do?

Creates or recreates final assets for asset upload ids passed in via the `CREATE_ASSET_FINALS_INPUTS` environment variable.

## Running Locally

1. Copy `.env.shadow` to `.env`
1. Run `awsume prod` to get AWS credentials in your environment. You must have access to the `assets` application family.  
   This will allow the script to pull the `ows_assets` db password from AWS Secrets Manager.
1. Add asset upload ids to process to .env in the format `{"asset_upload_ids":[id1, id2, ...]}`
1. Run `make run`
