Open mariussm opened 1 year ago
I would like to be able to enforce Azure RBAC for the dataplane for cosmosdb account:
https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-setup-rbac#use-azure-resource-manager-templates
azurerm_cosmosdb_sql_database
data "azurerm_cosmosdb_account" "example" { name = "tfex-cosmosdb-account" resource_group_name = "tfex-cosmosdb-account-rg" } resource "azurerm_cosmosdb_sql_database" "example" { name = "tfex-cosmos-sql-db" resource_group_name = data.azurerm_cosmosdb_account.example.resource_group_name account_name = data.azurerm_cosmosdb_account.example.name throughput = 400 disable_local_auth = true }
https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-setup-rbac
Doesn't look like it's supported by the cosmos api at the database level yet?
Isn't this supported by the local_authentication_disabled input?
local_authentication_disabled
Is there an existing issue for this?
Community Note
Description
I would like to be able to enforce Azure RBAC for the dataplane for cosmosdb account:
https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-setup-rbac#use-azure-resource-manager-templates
New or Affected Resource(s)/Data Source(s)
azurerm_cosmosdb_sql_database
Potential Terraform Configuration
References
https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-setup-rbac