Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Environment variables

Can I configure environment variables? These are variables which once defined, can be used in all integrations on my Google Cloud Project. I know I can define integrations variables (Keep track of data throughout the course of an entire integration execution) and task variables (Keep track of data for the duration of a single task) but what about env variables that store static data which I can use on every integration in my project (for example, an email address of the operation team which I want to use in order to send notifications regarding errors raised during the run of integrations).

Solved Solved
2 2 2,367
1 ACCEPTED SOLUTION

One possibly approach we looked at was to store environment variables as project secrets, and use the 'Secret Manage - Access' task in Application Integration to retrieve this. However this feature is still in preview, and when we last looked it would only read one secret at a time.  (so not ideal if you have lots of project specific variables you need to read)

The approach we took on our integrations was call  GET_PROJECT_ID() at the start, and then have a mapping step for each project that defined any environment variables applicable to that project. 

GrahamVosper_0-1701860125321.png

 

View solution in original post

2 REPLIES 2

One possibly approach we looked at was to store environment variables as project secrets, and use the 'Secret Manage - Access' task in Application Integration to retrieve this. However this feature is still in preview, and when we last looked it would only read one secret at a time.  (so not ideal if you have lots of project specific variables you need to read)

The approach we took on our integrations was call  GET_PROJECT_ID() at the start, and then have a mapping step for each project that defined any environment variables applicable to that project. 

GrahamVosper_0-1701860125321.png

 

Thank you very much for your detailed explanation Graham-Vosper!