This repository has been archived on 2023-12-13. You can view files and clone it, but cannot push or open issues or pull requests.
cloud-resources/azure-cosmosdb.tf
Kristóf Torma c08ba3ab75
Some checks failed
continuous-integration/drone/push Build is failing
move region
2022-08-01 22:38:05 +02:00

19 lines
570 B
HCL

resource "azurerm_cosmosdb_account" "cosmodb" {
name = "cosmosdbazurefunction"
location = "ger-west-central"
resource_group_name = azurerm_resource_group.rg-cosmostest-staticwebapp-cosmosdb.name
offer_type = "Standard"
kind = "GlobalDocumentDB"
enable_free_tier = true
consistency_policy {
consistency_level = "BoundedStaleness"
max_interval_in_seconds = 300
max_staleness_prefix = 100000
}
geo_location {
location = azurerm_resource_group.rg-cosmostest-staticwebapp-cosmosdb.location
failover_priority = 0
}
}