--- id: gcp title: GCP Context sidebar_label: GCP --- ## What Display the currently active GCP project, region and account ## Sample Configuration import Config from '@site/src/components/Config.js'; ## Template ([info][templates]) :::note default template ```template {{ if .Error }}{{ .Error }}{{ else }}{{ .Project }}{{ end }} ``` ::: ### Properties | Name | Type | Description | | ---------- | -------- | ------------------------------------------------------------------------ | | `.Project` | `string` | the currently active project | | `.Account` | `string` | the currently active account | | `.Region` | `string` | default region for the active context | | `.Error` | `string` | contains any error messages generated when trying to load the GCP config | [templates]: /docs/configuration/templates