From 11f680a88e29ed9d6152743d4737bfb62d28e472 Mon Sep 17 00:00:00 2001 From: pbthorste Date: Wed, 11 Jan 2017 22:55:50 +0100 Subject: [PATCH] remove computed true for postgres connections --- builtin/providers/postgresql/resource_postgresql_database.go | 1 - builtin/providers/postgresql/resource_postgresql_role.go | 1 - 2 files changed, 2 deletions(-) diff --git a/builtin/providers/postgresql/resource_postgresql_database.go b/builtin/providers/postgresql/resource_postgresql_database.go index 2092d8cf2..d236b02d7 100644 --- a/builtin/providers/postgresql/resource_postgresql_database.go +++ b/builtin/providers/postgresql/resource_postgresql_database.go @@ -86,7 +86,6 @@ func resourcePostgreSQLDatabase() *schema.Resource { dbConnLimitAttr: { Type: schema.TypeInt, Optional: true, - Computed: true, Default: -1, Description: "How many concurrent connections can be made to this database", ValidateFunc: validateConnLimit, diff --git a/builtin/providers/postgresql/resource_postgresql_role.go b/builtin/providers/postgresql/resource_postgresql_role.go index 586700e75..3ac0b8a94 100644 --- a/builtin/providers/postgresql/resource_postgresql_role.go +++ b/builtin/providers/postgresql/resource_postgresql_role.go @@ -78,7 +78,6 @@ func resourcePostgreSQLRole() *schema.Resource { Type: schema.TypeInt, Optional: true, Default: -1, - Computed: true, Description: "How many concurrent connections can be made with this role", ValidateFunc: validateConnLimit, },