Merge pull request #11161 from pbthorste/master

provider/postgres set default postgres connection limit
This commit is contained in:
Sean Chittenden 2017-01-11 15:17:16 -08:00 committed by GitHub
commit 9d889fa48b
2 changed files with 2 additions and 2 deletions

View File

@ -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,
}, },

View File

@ -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,
}, },