<commit_before>#
# This terraform plan defines the resources necessary to serve
# evergreen.jenkins.io and power the Jenkins Essentials effort
#

resource "azurerm_resource_group" "evergreen" {
  name     = "${var.prefix}-evergreen"
  location = "East US 2"
}

resource "azurerm_postgresql_server" "evergreen" {
  name                = "${var.prefix}-evergreen-db"
  location            = "${azurerm_resource_group.evergreen.location}"
  resource_group_name = "${azurerm_resource_group.evergreen.name}"

  sku {
    # In production we have Gen4 deployed, but that can no longer exist thanks
    # to a deprecation by Azure. This hack is the best that comes to mind
    # unfortunately
    name = "${var.prefix == "prod" ? "B_Gen4_2" : "B_Gen5_2"}"
    capacity = 2
    tier = "Basic"
    family = "${var.prefix == "prod" ? "Gen4" : "Gen5"}"
  }

  storage_profile {
    storage_mb = 5120
    backup_retention_days = 7
    geo_redundant_backup = "Disabled"
  }

  administrator_login = "evergreen_admin"
  # Once the infrastructure has been deployed, the password should be manually
  # reset such that it can be utilized in Kubernetes/Puppet/etc
  administrator_login_password = <PASSWORD>!"
  version = "10.0"
  ssl_enforcement = "Disabled"
}

resource "azurerm_postgresql_database" "evergreen_prod" {
  name                = "evergreen_prod"
  resource_group_name = "${azurerm_resource_group.evergreen.name}"
  server_name         = "${azurerm_postgresql_server.evergreen.name}"
  charset             = "UTF8"
  collation           = "English_United States.1252"
}

<commit_msg>Revert "Allow for the evergreen DB to be provisioned despite changes to Azure"<commit_after>#
# This terraform plan defines the resources necessary to serve
# evergreen.jenkins.io and power the Jenkins Essentials effort
#

resource "azurerm_resource_group" "evergreen" {
  name     = "${var.prefix}-evergreen"
  location = "East US 2"
}

resource "azurerm_postgresql_server" "evergreen" {
  name                = "${var.prefix}-evergreen-db"
  location            = "${azurerm_resource_group.evergreen.location}"
  resource_group_name = "${azurerm_resource_group.evergreen.name}"

  sku {
    name = "B_Gen4_2"
    capacity = 2
    tier = "Basic"
    family = "Gen4"
  }

  storage_profile {
    storage_mb = 5120
    backup_retention_days = 7
    geo_redundant_backup = "Disabled"
  }

  administrator_login = "evergreen_admin"
  # Once the infrastructure has been deployed, the password should be manually
  # reset such that it can be utilized in Kubernetes/Puppet/etc
  administrator_login_password = <PASSWORD>!"
  version = "10.0"
  ssl_enforcement = "Disabled"
}

resource "azurerm_postgresql_database" "evergreen_prod" {
  name                = "evergreen_prod"
  resource_group_name = "${azurerm_resource_group.evergreen.name}"
  server_name         = "${azurerm_postgresql_server.evergreen.name}"
  charset             = "UTF8"
  collation           = "English_United States.1252"
}


{'fraction_non_alphanumeric': 0.09784801613987895, 'fraction_numerical': 0.013449899125756557, 'mean_word_length': 3.4602698650674664, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '7085959', 'n_tokens_mistral': 981, 'n_tokens_neox': 922, 'n_words': 232}