# Automate environment variable creation on PROD based on DEV

**URL:** <https://matillioncommunity.discourse.group/t/automate-environment-variable-creation-on-prod-based-on-dev/2008>\
**Category:** Matillion ETL\
**Created:** [January 3, 2023, 5:07pm UTC](https://matillioncommunity.discourse.group/t/automate-environment-variable-creation-on-prod-based-on-dev/2008 "2023-01-03T17:07:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![maatoug.wassim](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@maatoug.wassim](https://matillioncommunity.discourse.group/u/maatoug.wassim)\
**Post date:** [January 3, 2023, 5:07pm UTC](https://matillioncommunity.discourse.group/t/automate-environment-variable-creation-on-prod-based-on-dev/2008/1 "2023-01-03T17:07:02Z")

</div>

Hi,

I m using git to build CI/CD for ETL jobs..

Dev and prod environment are on different ETL instances.

Regarding environment variables, I'm trying to export/import variables using the ETL API v1 ([link to doc](https://documentation.matillion.com/docs/2768621))

but, it seems that I need to create a prod env variables in dev instance and then export/import to prod instance. Where the idea would be to _export/make some changes like replace any {dev} by {prod} /import_ dev variables.

Do you have better ideas to automate environemnt variables generation based on what would be done in dev ?

&nbsp;
