set default postgres connection limit
This commit is contained in:
parent
1f036e7743
commit
0c1175f78b
|
@ -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,
|
||||
},
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue