Skip to content

Commit

Permalink
moved cosmos container to specific file
Browse files Browse the repository at this point in the history
  • Loading branch information
arcogabbo committed Oct 4, 2024
1 parent b0e5cc3 commit fb3bf89
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/domains/functions/database.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Containers

module "db_subscription_profileemails_container" {
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//cosmosdb_sql_container?ref=v7.67.1"
name = "profile-emails-leases"
resource_group_name = format("%s-rg-internal", local.project)
account_name = format("%s-cosmos-api", local.project)
database_name = "db"
partition_key_path = "/_partitionKey"

autoscale_settings = {
max_throughput = 1000
}
}

0 comments on commit fb3bf89

Please sign in to comment.