Terraform resource: postgresql database
Jump to navigation
Jump to search
The postgresql_database
resource creates and manages database objects within a PostgreSQL server instance.
Oficial example[edit]
resource "postgresql_database" "my_db" { name = "my_db" owner = "my_role" template = "template0" lc_collate = "C" connection_limit = -1 allow_connections = true }
Values[edit]
connection_limit - (Optional) How many concurrent connections can be established to this database. -1 (the default) means no limit.
See also[edit]
Advertising: