Parameterizing Ion configuration


#1

How would we parameterize the configuration for ions? For example, we have multiple Datomic databases - one each developer. How would we configure a lambda to use one database or another?

In our current development workflow, we would set environment variables for lambdas but there doesn’t seem to be a parallel concept for ions.


#2

@stu has mentioned using say the Parameter Store from AWS Systems Manager. I’m just about to start playing with it myself. To ‘root’ your vars you could transact something into the DB (which i’m less than thrilled with lol), or perhaps read an ENV tag off of the instance with the ec2 api