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).

2 Likes

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.

2 Likes

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