# Environment Variables

**URL:** <https://forum.datomic.com/t/environment-variables/1631>\
**Category:** Datomic Cloud\
**Created:** [September 18, 2020, 5:35pm UTC](https://forum.datomic.com/t/environment-variables/1631 "2020-09-18T17:35:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tony.kay](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/tony.kay/32/316_2.png) [@tony.kay](https://forum.datomic.com/u/tony.kay)\
**Post date:** [September 18, 2020, 5:35pm UTC](https://forum.datomic.com/t/environment-variables/1631/1 "2020-09-18T17:35:42Z")

</div>

Is there a way in Datomic Cloud to set custom UNIX environment variables that will be seen by the nodes in compute and query groups? I don’t see it anywhere in the documentation, and since the product creates the EC2 instances in AWS I doubt that the right thing to do is try to muck around in those resources directly (e.g. [https://stackoverflow.com/questions/28643573/how-to-set-an-environment-variable-in-amazon-ec2](https://stackoverflow.com/questions/28643573/how-to-set-an-environment-variable-in-amazon-ec2)).

---

<div class="post-metadata">

**Author:** ![solussd](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/solussd/32/59_2.png) [@solussd](https://forum.datomic.com/u/solussd)\
**Post date:** [September 20, 2020, 8:20pm UTC](https://forum.datomic.com/t/environment-variables/1631/2 "2020-09-20T20:20:44Z")

</div>

Are you using Datomic Ions to deploy application code? You can use parameter store to pass parameters: [https://docs.datomic.com/cloud/ions/ions-reference.html#parameters](https://docs.datomic.com/cloud/ions/ions-reference.html#parameters)

---

<div class="post-metadata">

**Author:** ![tony.kay](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/tony.kay/32/316_2.png) [@tony.kay](https://forum.datomic.com/u/tony.kay)\
**Post date:** [September 21, 2020, 5:51am UTC](https://forum.datomic.com/t/environment-variables/1631/3 "2020-09-21T05:51:38Z")

</div>

Yes, but what I need is a TIMBRE\_LEVEL env variable set before the JVM starts so I can elide logging. The latest version of timbre can also deal with a JVM property, but unfortunately that is also a case where if the ns loads before you manage to set the property then it still won’t help. So, the best way to ensure it works is either if I can set a real JVM property (i.e. `java -D...`) or an environment variable that the JVM will see.

---

<div class="post-metadata">

**Author:** ![solussd](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/solussd/32/59_2.png) [@solussd](https://forum.datomic.com/u/solussd)\
**Post date:** [September 21, 2020, 1:53pm UTC](https://forum.datomic.com/t/environment-variables/1631/4 "2020-09-21T13:53:42Z")

</div>

I suspect you could modify the Cloudformation template to export the ENV var you need under TxLaunchConfig UserData property.

---

<div class="post-metadata">

**Author:** ![tony.kay](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/tony.kay/32/316_2.png) [@tony.kay](https://forum.datomic.com/u/tony.kay)\
**Post date:** [October 6, 2020, 2:04am UTC](https://forum.datomic.com/t/environment-variables/1631/5 "2020-10-06T02:04:02Z")

</div>

Right, that was my suspicion. Thanks!
