Skip to content

Instantly share code, notes, and snippets.

@stvdilln
Created January 14, 2021 17:14
Show Gist options
  • Save stvdilln/1652269b76c4d4ba917408aa90002e8a to your computer and use it in GitHub Desktop.
Save stvdilln/1652269b76c4d4ba917408aa90002e8a to your computer and use it in GitHub Desktop.
CosmosDB - Database Creation
module cosmosdb_database {
source = "../../../submodules/terraform-azurerm/services/cosmos-db/database/sql/base/v1"
context = module.coreinfra.context
service_settings = {
name = "Northwind-Customers"
account_name = module.cosmosdb_account.name
# for autoscaling resources, shared between all containers
# the module just does shared autoscaling at this time.
# We can create more modules in the library as needed.
max_throughput = 4000
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment