Skip to content

Cloud Platform Detection

  • Type: Boolean (set by GitHub Codespaces)
  • Default: Unspecified
  • Description: Detected when running in GitHub Codespaces. Set automatically.
  • Example: Automatically set by Codespaces environment
  • Type: String (workspace ID)
  • Default: Unspecified
  • Description: Gitpod workspace ID. Used for platform detection.
  • Example: workspace-id-123
  • Type: String (deployment ID)
  • Default: Unspecified
  • Description: Deno Deploy deployment ID. Used for platform detection.
  • Example: deployment-abc123
  • Type: String (job ID)
  • Default: Unspecified
  • Description: Google Cloud Run Job identifier. Used for platform detection.
  • Example: my-job-123
  • Type: String (service name)
  • Default: Unspecified
  • Description: Google Cloud Run/Knative service name. Used for platform detection.
  • Example: my-service
  • Type: String (configuration name)
  • Default: Unspecified
  • Description: Google Cloud Run/Knative configuration. Used for platform detection.
  • Example: my-service-config
  • Type: String (function name)
  • Default: Unspecified
  • Description: Google Cloud Functions target. Used for platform detection.
  • Example: my-function
  • Type: String (function name)
  • Default: Unspecified
  • Description: Google Cloud Functions function name. Used for platform detection.
  • Example: my-function
  • Type: String (service name)
  • Default: Unspecified
  • Description: Google App Engine service name. Used for platform detection.
  • Example: default
  • Type: String (module name)
  • Default: Unspecified
  • Description: Google App Engine module name (legacy term). Used for platform detection.
  • Example: backend
  • Type: String (project ID)
  • Default: Unspecified
  • Description: Legacy GCP project ID. Superseded by GOOGLE_CLOUD_PROJECT.
  • Example: my-gcp-project
  • Type: String (function name)
  • Default: Unspecified
  • Description: AWS Lambda function name. Used for platform detection.
  • Example: my-function
  • Type: String (enum: AWS_ECS_FARGATE, AWS_ECS_EC2, AWS_LAMBDA)
  • Default: Unspecified
  • Description: AWS execution environment. Used for platform detection.
  • Example: AWS_ECS_FARGATE
  • Type: String (dyno identifier)
  • Default: Unspecified
  • Description: Heroku dyno identifier. Used for platform detection.
  • Example: web.1
  • Type: String (app name)
  • Default: Unspecified
  • Description: Fly.io application name. Used for platform detection.
  • Example: my-app
  • Type: String (machine ID)
  • Default: Unspecified
  • Description: Fly.io machine ID. Used for platform detection.
  • Example: 3c4b0ff5470d8d
  • Type: String (service name)
  • Default: Unspecified
  • Description: Railway service name. Used for platform detection.
  • Example: api
  • Type: String (environment name)
  • Default: Unspecified
  • Description: Railway environment name. Used for platform detection.
  • Example: production
  • Type: Boolean (set by Render)
  • Default: Unspecified
  • Description: Detected when running on Render. Set automatically.
  • Example: Automatically set by Render
  • Type: Boolean (set by Vercel)
  • Default: Unspecified
  • Description: Detected when running on Vercel. Set automatically.
  • Example: Automatically set by Vercel
  • Type: Boolean (set by Netlify)
  • Default: Unspecified
  • Description: Detected when running on Netlify. Set automatically.
  • Example: Automatically set by Netlify
  • Type: Boolean (set by Cloudflare Pages)
  • Default: Unspecified
  • Description: Detected when running on Cloudflare Pages. Set automatically.
  • Example: Automatically set by Cloudflare Pages
  • Type: URL
  • Default: Unspecified
  • Description: Application URL. Checked for DigitalOcean App Platform detection.
  • Example: https://my-app-abc123.ondigitalocean.app
  • Type: String (repl ID)
  • Default: Unspecified
  • Description: Replit repl ID. Used for platform detection.
  • Example: repl-id-123
  • Type: String (repl slug)
  • Default: Unspecified
  • Description: Replit repl slug. Used for platform detection.
  • Example: my-project-slug
  • Type: String (domain)
  • Default: Unspecified
  • Description: Glitch project domain. Used for platform detection.
  • Example: glitch-project-name
  • Type: String (user ID)
  • Default: Unspecified
  • Description: HuggingFace Spaces creator user ID. Used for platform detection.
  • Example: user-id-123
  • Type: String (hostname)
  • Default: Unspecified
  • Description: Kubernetes service host. Used for platform detection. Set automatically in Kubernetes clusters.
  • Example: kubernetes.default.svc
  • Type: String (site name)
  • Default: Unspecified
  • Description: Azure App Service site name. Used for platform detection.
  • Example: my-site
  • Type: String (SKU)
  • Default: Unspecified
  • Description: Azure App Service SKU. Used for platform detection.
  • Example: Standard
  • Type: String (URI)
  • Default: Unspecified
  • Description: Azure DevOps OIDC request URI. Used for platform detection.
  • Example: https://dev.azure.com/org/_apis/...

← Back to env/README.md