<commit_before>#
# This terraform plan defines the resources necessary to host the Terraform
# remote state in Azure Blob Storage as described here:
# <https://www.terraform.io/docs/state/remote/azure.html>

resource "azurerm_resource_group" "tfstate" {
    name     = "${var.prefix}tfstate"
    location = "${var.location}"
}

resource "azurerm_storage_account" "tfstate" {
    name                     = "${var.prefix}tfstate"
    resource_group_name      = "${azurerm_resource_group.tfstate.name}"
    location                 = "${var.location}"
    account_tier             = "Standard"
    account_replication_type = "GRS"
    enable_blob_encryption   = true
}

resource "azurerm_storage_container" "tfstate" {
    name                  = "tfstate"
    resource_group_name   = "${azurerm_resource_group.tfstate.name}"
    storage_account_name  = "${azurerm_storage_account.tfstate.name}"
    container_access_type = "private"
}<commit_msg>INFRA-1391 - Declares remote storage for DataDog TF states<commit_after>#
# This terraform plan defines the resources necessary to host the Terraform
# remote state in Azure Blob Storage as described here:
# <https://www.terraform.io/docs/state/remote/azure.html>

resource "azurerm_resource_group" "tfstate" {
    name     = "${var.prefix}tfstate"
    location = "${var.location}"
}

resource "azurerm_storage_account" "tfstate" {
    name                     = "${var.prefix}tfstate"
    resource_group_name      = "${azurerm_resource_group.tfstate.name}"
    location                 = "${var.location}"
    account_tier             = "Standard"
    account_replication_type = "GRS"
    enable_blob_encryption   = true
}

resource "azurerm_storage_container" "tfstate" {
    name                  = "tfstate"
    resource_group_name   = "${azurerm_resource_group.tfstate.name}"
    storage_account_name  = "${azurerm_storage_account.tfstate.name}"
    container_access_type = "private"
}

resource "azurerm_storage_account" "tfstate_datadog" {
    name                     = "${var.prefix}tfstate_datadog"
    resource_group_name      = "${azurerm_resource_group.tfstate_datadog.name}"
    location                 = "${var.location}"
    account_tier             = "Standard"
    account_replication_type = "GRS"
    enable_blob_encryption   = true
}

resource "azurerm_storage_container" "tfstate_datadog" {
    name                  = "tfstate_datadog"
    resource_group_name   = "${azurerm_resource_group.tfstate.name}"
    storage_account_name  = "${azurerm_storage_account.tfstate_datadog.name}"
    container_access_type = "private"
}
{'fraction_non_alphanumeric': 0.10463320463320464, 'fraction_numerical': 0.0015444015444015444, 'mean_word_length': 3.15224358974359, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '1739646', 'n_tokens_mistral': 805, 'n_tokens_neox': 778, 'n_words': 143}