Manage Vultr database topics with vultr_database_topic
masterThe vultr_database_topic resource allows you to create, read, modify, and delete topics for a managed database on your Vultr account.
Important Note: Updating the database_id will trigger a force new operation, meaning the existing topic will be destroyed and a new one created. This is because a database topic cannot be moved from one managed database to another.
resource "vultr_database_topic" "my_database_topic" {
database_id = vultr_database.my_database.id
name = "my_database_topic"
partitions = "3"
replication = "2"
retention_hours = "120"
retention_bytes = "-1"
}