set default postgres connection limit

This commit is contained in:
pbthorste 2017-01-11 22:45:30 +01:00
parent 1f036e7743
commit 0c1175f78b
2 changed files with 2 additions and 0 deletions

View File

@ -87,6 +87,7 @@ func resourcePostgreSQLDatabase() *schema.Resource {
Type: schema.TypeInt,
Optional: true,
Computed: true,
Default: -1,
Description: "How many concurrent connections can be made to this database",
ValidateFunc: validateConnLimit,
},

View File

@ -77,6 +77,7 @@ func resourcePostgreSQLRole() *schema.Resource {
roleConnLimitAttr: {
Type: schema.TypeInt,
Optional: true,
Default: -1,
Computed: true,
Description: "How many concurrent connections can be made with this role",
ValidateFunc: validateConnLimit,