Merge pull request #11161 from pbthorste/master
provider/postgres set default postgres connection limit
This commit is contained in:
commit
9d889fa48b
|
@ -86,7 +86,7 @@ func resourcePostgreSQLDatabase() *schema.Resource {
|
||||||
dbConnLimitAttr: {
|
dbConnLimitAttr: {
|
||||||
Type: schema.TypeInt,
|
Type: schema.TypeInt,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
Computed: true,
|
Default: -1,
|
||||||
Description: "How many concurrent connections can be made to this database",
|
Description: "How many concurrent connections can be made to this database",
|
||||||
ValidateFunc: validateConnLimit,
|
ValidateFunc: validateConnLimit,
|
||||||
},
|
},
|
||||||
|
|
|
@ -77,7 +77,7 @@ func resourcePostgreSQLRole() *schema.Resource {
|
||||||
roleConnLimitAttr: {
|
roleConnLimitAttr: {
|
||||||
Type: schema.TypeInt,
|
Type: schema.TypeInt,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
Computed: true,
|
Default: -1,
|
||||||
Description: "How many concurrent connections can be made with this role",
|
Description: "How many concurrent connections can be made with this role",
|
||||||
ValidateFunc: validateConnLimit,
|
ValidateFunc: validateConnLimit,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue