You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 17, 2025. It is now read-only.
-**connection_limit** (Number) The maximum number of database connections the user is permitted to have open concurrently. The limit isn't enforced for superusers.
38
38
-**create_database** (Boolean) Allows the user to create new databases. By default user can't create new databases.
39
39
-**id** (String) The ID of this resource.
40
-
-**password** (String, Sensitive) Sets the user's password. Users can change their own passwords, unless the password is disabled. To disable password, omit this parameter or set it to `null`.
40
+
-**password** (String, Sensitive) Sets the user's password. Users can change their own passwords, unless the password is disabled. To disable password, omit this parameter or set it to `null`. Can also be a hashed password rather than the plaintext password. Please refer to the Redshift [CREATE USER documentation](https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html) for information on creating a password hash.
41
41
-**session_timeout** (Number) The maximum time in seconds that a session remains inactive or idle. The range is 60 seconds (one minute) to 1,728,000 seconds (20 days). If no session timeout is set for the user, the cluster setting applies.
42
42
-**superuser** (Boolean) Determine whether the user is a superuser with all database privileges.
43
43
-**syslog_access** (String) A clause that specifies the level of access that the user has to the Amazon Redshift system tables and views. If `RESTRICTED` (default) is specified, the user can see only the rows generated by that user in user-visible system tables and views. If `UNRESTRICTED` is specified, the user can see all rows in user-visible system tables and views, including rows generated by another user. `UNRESTRICTED` doesn't give a regular user access to superuser-visible tables. Only superusers can see superuser-visible tables.
Copy file name to clipboardExpand all lines: redshift/resource_redshift_user.go
+3-14Lines changed: 3 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,6 @@ package redshift
2
2
3
3
import (
4
4
"context"
5
-
"crypto/md5"
6
5
"database/sql"
7
6
"fmt"
8
7
"log"
@@ -87,7 +86,7 @@ Amazon Redshift user accounts can only be created and dropped by a database supe
87
86
Type: schema.TypeString,
88
87
Optional: true,
89
88
Sensitive: true,
90
-
Description: "Sets the user's password. Users can change their own passwords, unless the password is disabled. To disable password, omit this parameter or set it to `null`.",
89
+
Description: "Sets the user's password. Users can change their own passwords, unless the password is disabled. To disable password, omit this parameter or set it to `null`. Can also be a hashed password rather than the plaintext password. Please refer to the Redshift [CREATE USER documentation](https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html) for information on creating a password hash.",
91
90
},
92
91
userValidUntilAttr: {
93
92
Type: schema.TypeString,
@@ -187,7 +186,6 @@ func resourceRedshiftUserCreate(db *DBConnection, d *schema.ResourceData) error
0 commit comments