Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow for multiple instances of loader_lambda_role
This change allows for multiple copies of the sync to run on a single account (e.g. for a main and test database). The loader lambda role references specific DynamoDB resources, so unlike the other two lambda roles created in iam.tf, you can't just reuse the existing role for a new instance of the sync. Allowing for multiple instances by switching to name_prefix makes it possible to sync to separate Redshift databases in separate regions (though still only one sync can run per AWS region).
- Loading branch information