gcp_project.py
Source: sunholo/utils/gcp_project.py
Functions
get_gcp_project(include_config=False)
Retrieve the GCP project ID from environment variables or the GCP metadata server.
Returns: str or None: The project ID if found, None otherwise.
get_env_project_id()
Attempts to retrieve the project ID from environment variables.
Returns: str or None: The project ID if found in environment variables, None otherwise.