Skip to content

Commit d03ab42

Browse files
authored
Fix description. (cyrilgdn#245)
1 parent cf204b9 commit d03ab42

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

postgresql/resource_postgresql_default_privileges.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func resourcePostgreSQLDefaultPrivileges() *schema.Resource {
5656
"type",
5757
"schema",
5858
}, false),
59-
Description: "The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, type)",
59+
Description: "The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, type, schema)",
6060
},
6161
"privileges": {
6262
Type: schema.TypeSet,

website/docs/r/postgresql_default_privileges.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ resource "postgresql_default_privileges" "read_only_tables" {
3232
* `database` - (Required) The database to grant default privileges for this role.
3333
* `owner` - (Required) Role for which apply default privileges (You can change default privileges only for objects that will be created by yourself or by roles that you are a member of).
3434
* `schema` - (Optional) The database schema to set default privileges for this role.
35-
* `object_type` - (Required) The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, type).
35+
* `object_type` - (Required) The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, type, schema).
3636
* `privileges` - (Required) The list of privileges to apply as default privileges. An empty list could be provided to revoke all default privileges for this role.
3737

3838

0 commit comments

Comments
 (0)