<commit_before>---
subcategory: "Compute Engine"
layout: "google"
page_title: "Google: google_compute_regions"
sidebar_current: "docs-google-datasource-compute-regions"
description: |-
  Provides a list of available Google Compute regions
---

# google\_compute\_regions

Provides access to available Google Compute regions for a given project.
See more about [regions and regions](https://cloud.google.com/compute/docs/regions-zones/) in the upstream docs.

```hcl
data "google_compute_regions" "available" {
}
<commit_msg>doc: Fix "regions and regions" into "regions and zones" (#6045)<commit_after>---
subcategory: "Compute Engine"
layout: "google"
page_title: "Google: google_compute_regions"
sidebar_current: "docs-google-datasource-compute-regions"
description: |-
  Provides a list of available Google Compute regions
---

# google\_compute\_regions

Provides access to available Google Compute regions for a given project.
See more about [regions and zones](https://cloud.google.com/compute/docs/regions-zones/) in the upstream docs.

```hcl
data "google_compute_regions" "available" {
}

{'fraction_non_alphanumeric': 0.11131386861313869, 'fraction_numerical': 0.0036496350364963502, 'mean_word_length': 5.452941176470588, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4887108', 'n_tokens_mistral': 341, 'n_tokens_neox': 312, 'n_words': 101}