Created
January 14, 2021 17:14
-
-
Save stvdilln/1652269b76c4d4ba917408aa90002e8a to your computer and use it in GitHub Desktop.
CosmosDB - Database Creation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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