<commit_before>resource "google_container_cluster" "cloud-robotics" {
  name               = "cloud-robotics"
  zone               = "${var.zone}"
  min_master_version = "1.11.5-gke.5"
  enable_legacy_abac = true
  depends_on         = ["google_project_service.container"]

  node_pool {
    initial_node_count = 1

    autoscaling = {
      min_node_count = 1
      max_node_count = 10
    }

    node_config {
      machine_type = "n1-standard-8"

      oauth_scopes = [
        "https://www.googleapis.com/auth/bigquery",
        "https://www.googleapis.com/auth/cloud-platform",
        "https://www.googleapis.com/auth/cloud-platform.read-only",
        "https://www.googleapis.com/auth/cloud.useraccounts",
        "https://www.googleapis.com/auth/compute",
        "https://www.googleapis.com/auth/datastore",
        "https://www.googleapis.com/auth/devstorage.full_control",
        "https://www.googleapis.com/auth/logging.write",
        "https://www.googleapis.com/auth/monitoring",
        "https://www.googleapis.com/auth/monitoring.write",
        "https://www.googleapis.com/auth/ndev.clouddns.readwrite",
        "https://www.googleapis.com/auth/pubsub",
        "https://www.googleapis.com/auth/servicecontrol",
        "https://www.googleapis.com/auth/trace.append",
        "https://www.googleapis.com/auth/userinfo.email",
      ]
    }
  }

  timeouts {
    create = "1h"
    update = "1h"
    delete = "1h"
  }
}

# TODO(swolter): Depend on APIs.

<commit_msg>Specify GKE master version less precisely<commit_after>resource "google_container_cluster" "cloud-robotics" {
  name               = "cloud-robotics"
  zone               = "${var.zone}"
  min_master_version = "1.11"
  enable_legacy_abac = true
  depends_on         = ["google_project_service.container"]

  node_pool {
    initial_node_count = 1

    autoscaling = {
      min_node_count = 1
      max_node_count = 10
    }

    node_config {
      machine_type = "n1-standard-8"

      oauth_scopes = [
        "https://www.googleapis.com/auth/bigquery",
        "https://www.googleapis.com/auth/cloud-platform",
        "https://www.googleapis.com/auth/cloud-platform.read-only",
        "https://www.googleapis.com/auth/cloud.useraccounts",
        "https://www.googleapis.com/auth/compute",
        "https://www.googleapis.com/auth/datastore",
        "https://www.googleapis.com/auth/devstorage.full_control",
        "https://www.googleapis.com/auth/logging.write",
        "https://www.googleapis.com/auth/monitoring",
        "https://www.googleapis.com/auth/monitoring.write",
        "https://www.googleapis.com/auth/ndev.clouddns.readwrite",
        "https://www.googleapis.com/auth/pubsub",
        "https://www.googleapis.com/auth/servicecontrol",
        "https://www.googleapis.com/auth/trace.append",
        "https://www.googleapis.com/auth/userinfo.email",
      ]
    }
  }

  timeouts {
    create = "1h"
    update = "1h"
    delete = "1h"
  }
}

# TODO(swolter): Depend on APIs.


{'fraction_non_alphanumeric': 0.1537173476222371, 'fraction_numerical': 0.008707300736771601, 'mean_word_length': 2.4293915040183696, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 30, 'lorem ipsum': 0, 'www.': 30, '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': '1547248', 'n_tokens_mistral': 1037, 'n_tokens_neox': 981, 'n_words': 107}