hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.61k stars 4.65k forks source link

azurerm_cosmosdb_postgresql_cluster - database name #22618

Open gqvsant opened 1 year ago

gqvsant commented 1 year ago

Is there an existing issue for this?

Community Note

Description

As per this document, when creating a cosmosdb postgresql cluster you have the option to choose the database name.

databasename

Here's the discussion I started regarding the same topic.

But there’s no such parameter on the resource azurerm_cosmosdb_postgresql_cluster, and I couldn’t find it mapped here as well.

Since we’re on IaC, this leaves me with only the option to work with the citus database on clusters created via terraforms while the flexibility of creating a different and more business-oriented name is available only via portal.

New or Affected Resource(s)/Data Source(s)

azurerm_cosmosdb_postgresql_cluster

Potential Terraform Configuration

resource "azurerm_cosmosdb_postgresql_cluster" "example" {
  name                            = "examplecluster"
  database_name                   = "exampledatabase"
  resource_group_name             = azurerm_resource_group.example.name
  location                        = azurerm_resource_group.example.location
  administrator_login_password    = "H@Sh1CoR3!"
  coordinator_storage_quota_in_mb = 131072
  coordinator_vcore_count         = 2
  node_count                      = 2
  node_storage_quota_in_mb        = 131072
  node_vcores                     = 2
}

References

No response

NSimpragaVolur commented 11 months ago

Almost 5 months - no update on this?

bramvdklinkenberg commented 10 months ago

Don't see the option to configure the db name in ARM/Bicep yet, so probably not going to be available in TF for a bit.

SergiuCornea commented 4 months ago

This would be really helpful, any updates on this?

jaredweinfurtner commented 2 months ago

over 1 year later and we still can't provide a database name

abhishekkumar2-lumen commented 1 month ago

Hello Team,

Any update on when this could be supported?