2023-12-02 21:59:05 +01:00
|
|
|
variable "database_name" {
|
|
|
|
type = string
|
|
|
|
description = "database name to create"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "schema" {
|
|
|
|
type = string
|
|
|
|
default = "public"
|
|
|
|
description = "database schema to create"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "username" {
|
|
|
|
type = string
|
|
|
|
description = "user name owner of the new database"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "collate" {
|
|
|
|
default = "C"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "ctype" {
|
2025-03-09 16:19:32 +01:00
|
|
|
default = "C"
|
2023-12-02 21:59:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "privileges" {
|
|
|
|
default = ["CREATE", "CONNECT"]
|
|
|
|
}
|