<commit_before>module "chef_server" {
  source = "../../modules/arm_instance"

  arm_tenant_id           = "${var.arm_tenant_id}"
  arm_subscription_id     = "${var.arm_subscription_id}"
  arm_location            = "${var.arm_location}"
  arm_resource_group_name = "${var.arm_resource_group_name}"
  arm_department          = "${var.arm_department}"
  arm_contact             = "${var.arm_contact}"
  arm_ssh_key_file        = "${var.arm_ssh_key_file}"
  arm_instance_type       = "${var.arm_instance_type}"
  platform                = "${var.platform}"
  build_prefix            = "${var.build_prefix}"
  name                    = "chefserver-${var.scenario}-${replace(var.platform, ".", "")}"
}

resource "azurerm_postgresql_server" "default" {
  resource_group_name = "${module.chef_server.resource_group_name}"
  location            = "${module.chef_server.location}"

  name                         = "${var.scenario}-${replace(var.platform, ".", "")}-${var.arm_contact}"
  administrator_login          = "bofh"
  administrator_login_password = "<PASSWORD>!"
  version                      = "9.6"
  ssl_enforcement              = "Enabled"

  sku {
    name     = "B_Gen5_2"
    capacity = 2
    tier     = "Basic"
    family   = "Gen5"
  }

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

  tags = {
    X-Dept    = "${var.arm_department}"
    X-Contact = "${var.arm_contact}"
  }<commit_msg>Increase size of test Azure PostgreSQL instance<commit_after>module "chef_server" {
  source = "../../modules/arm_instance"

  arm_tenant_id           = "${var.arm_tenant_id}"
  arm_subscription_id     = "${var.arm_subscription_id}"
  arm_location            = "${var.arm_location}"
  arm_resource_group_name = "${var.arm_resource_group_name}"
  arm_department          = "${var.arm_department}"
  arm_contact             = "${var.arm_contact}"
  arm_ssh_key_file        = "${var.arm_ssh_key_file}"
  arm_instance_type       = "${var.arm_instance_type}"
  platform                = "${var.platform}"
  build_prefix            = "${var.build_prefix}"
  name                    = "chefserver-${var.scenario}-${replace(var.platform, ".", "")}"
}

resource "azurerm_postgresql_server" "default" {
  resource_group_name = "${module.chef_server.resource_group_name}"
  location            = "${module.chef_server.location}"

  name                         = "${var.scenario}-${replace(var.platform, ".", "")}-${var.arm_contact}"
  administrator_login          = "bofh"
  administrator_login_password = "<PASSWORD>!"
  version                      = "9.6"
  ssl_enforcement              = "Enabled"

  sku_name = "GP_Gen5_8"

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

  tags = {
    X-Dept    = "${var.arm_department}"
    X-Contact = "${var.arm_contact}"
  }
{'fraction_non_alphanumeric': 0.14099485420240138, 'fraction_numerical': 0.00686106346483705, 'mean_word_length': 2.4346289752650176, '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': '5394732', 'n_tokens_mistral': 976, 'n_tokens_neox': 938, 'n_words': 129}