You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"azurerm_cosmosdb_sql_container" {
source="./modules/azurerm/r/azurerm_cosmosdb_sql_container"# account_name - (required) is a type of stringaccount_name=null# database_name - (required) is a type of stringdatabase_name=null# default_ttl - (optional) is a type of numberdefault_ttl=null# name - (required) is a type of stringname=null# partition_key_path - (optional) is a type of stringpartition_key_path=null# partition_key_version - (optional) is a type of numberpartition_key_version=null# resource_group_name - (required) is a type of stringresource_group_name=null# throughput - (optional) is a type of numberthroughput=nullautoscale_settings=[{
max_throughput =null
}]
indexing_policy=[{
composite_index = [{
index = [{
order =null
path =null
}]
}]
excluded_path = [{
path =null
}]
included_path = [{
path =null
}]
indexing_mode =null
}]
timeouts=[{
create =null
delete =null
read =null
update =null
}]
unique_key=[{
paths = []
}]
}
resource"azurerm_cosmosdb_sql_container""this" {
# account_name - (required) is a type of stringaccount_name=var.account_name# database_name - (required) is a type of stringdatabase_name=var.database_name# default_ttl - (optional) is a type of numberdefault_ttl=var.default_ttl# name - (required) is a type of stringname=var.name# partition_key_path - (optional) is a type of stringpartition_key_path=var.partition_key_path# partition_key_version - (optional) is a type of numberpartition_key_version=var.partition_key_version# resource_group_name - (required) is a type of stringresource_group_name=var.resource_group_name# throughput - (optional) is a type of numberthroughput=var.throughputdynamic"autoscale_settings" {
for_each=var.autoscale_settingscontent {
# max_throughput - (optional) is a type of numbermax_throughput=autoscale_settings.value["max_throughput"]
}
}
dynamic"indexing_policy" {
for_each=var.indexing_policycontent {
# indexing_mode - (optional) is a type of stringindexing_mode=indexing_policy.value["indexing_mode"]
dynamic"composite_index" {
for_each=indexing_policy.value.composite_indexcontent {
dynamic"index" {
for_each=composite_index.value.indexcontent {
# order - (required) is a type of stringorder=index.value["order"]
# path - (required) is a type of stringpath=index.value["path"]
}
}
}
}
dynamic"excluded_path" {
for_each=indexing_policy.value.excluded_pathcontent {
# path - (required) is a type of stringpath=excluded_path.value["path"]
}
}
dynamic"included_path" {
for_each=indexing_policy.value.included_pathcontent {
# path - (required) is a type of stringpath=included_path.value["path"]
}
}
}
}
dynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# read - (optional) is a type of stringread=timeouts.value["read"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
dynamic"unique_key" {
for_each=var.unique_keycontent {
# paths - (required) is a type of set of stringpaths=unique_key.value["paths"]
}
}
}