Fork me on GitHub
#datomic
<
2019-12-20
>
dvingo17:12:26

is (datomic.ion/get-env) supposed to return something besides nil when running locally?

timcreasy17:12:30

Not sure what you mean by “running locally”, but it should return the environment map specified in the compute group for that stack: https://docs.datomic.com/cloud/ions/ions-reference.html#environment-map

dvingo17:12:18

Running in a repl that is not hosted in AWS

dvingo17:12:46

how does it know what system you're using?

timcreasy17:12:41

Ah, it looks for the DATOMIC_ENV_MAP environment variable to be set. For example I have that in my repl config.

dvingo17:12:49

ok great thank you! So the expectation is that locally you'll be providing the values in the map that should match what is in SSM?