Unable to read multiple variables from an external file in cloudbuild.yaml

Hello All,

I am trying to execute a cloudbuild pipeline on part of a project, I have couple of variables configured in the code and I have passed those variable values through the CloudBuild environment variable settings,
But I would be having more variables for every releases, so instead of configuring the variables in pipeline settings, I am thinking we can pass those variables in an external file and read that variable in the cloudbuild.yaml config, I have tried but its not working,
Can someone help me with this? Or is there any other best approach to read the variables from an external file.
0 1 162
1 REPLY 1

Hi @Dhamodharan,

Welcome to Google Cloud Community!

We don't have a native way to read multiple variables from an external file. You could file this as a feature request so that our engineers could take a look at this. We don't have a specific ETA but you can keep track of its progress once the ticket has been created.

Hope this helps.