@Sam-Burgos, see the pinned comment about this issue.
Based on your description of the issue you are experiencing, it sounds like these script you're executing do not inherit the CLOUDSDK_*
environment variables. Running a script as a systemd unit, for example, will not inherit environment variables defined in /etc/profile
or in a script under /etc/profile.d
; you will need to specify these in your script's environment(s).
Pinned Comments