Day 10 with Workflows — Accessing built-in environment variables
Google Cloud Workflows offers a few built-in environment variables that are accessible from your workflow executions.
There are currently 5 environment variables that are defined:
GOOGLE_CLOUD_PROJECT_NUMBER: The workflow project’s number.GOOGLE_CLOUD_PROJECT_ID: The workflow project’s identifier.GOOGLE_CLOUD_LOCATION: The workflow’s location.GOOGLE_CLOUD_WORKFLOW_ID: The workflow’s identifier.GOOGLE_CLOUD_WORKFLOW_REVISION_ID: The workflow’s revision identifier.
Let’s see how to access them from our workflow definition:
Read more...
