Update the descriptions to mostly match the official PostgreSQL docs.
This commit is contained in:
parent
68cadd3c2a
commit
deb91f61ce
|
@ -15,33 +15,33 @@ func Provider() terraform.ResourceProvider {
|
||||||
Optional: true,
|
Optional: true,
|
||||||
// TODO(sean@): Remove POSTGRESQL_HOST in 0.8
|
// TODO(sean@): Remove POSTGRESQL_HOST in 0.8
|
||||||
DefaultFunc: schema.MultiEnvDefaultFunc([]string{"PGHOST", "POSTGRESQL_HOST"}, nil),
|
DefaultFunc: schema.MultiEnvDefaultFunc([]string{"PGHOST", "POSTGRESQL_HOST"}, nil),
|
||||||
Description: "The PostgreSQL server address",
|
Description: "Name of PostgreSQL server address to connect to",
|
||||||
},
|
},
|
||||||
"port": {
|
"port": {
|
||||||
Type: schema.TypeInt,
|
Type: schema.TypeInt,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
DefaultFunc: schema.EnvDefaultFunc("PGPORT", 5432),
|
DefaultFunc: schema.EnvDefaultFunc("PGPORT", 5432),
|
||||||
Description: "The PostgreSQL server port",
|
Description: "The PostgreSQL port number to connect to at the server host, or socket file name extension for Unix-domain connections",
|
||||||
},
|
},
|
||||||
"username": {
|
"username": {
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
// TODO(sean@): Remove POSTGRESQL_USER in 0.8
|
// TODO(sean@): Remove POSTGRESQL_USER in 0.8
|
||||||
DefaultFunc: schema.MultiEnvDefaultFunc([]string{"PGUSER", "POSTGRESQL_USER"}, "postgres"),
|
DefaultFunc: schema.MultiEnvDefaultFunc([]string{"PGUSER", "POSTGRESQL_USER"}, "postgres"),
|
||||||
Description: "Username for PostgreSQL server connection",
|
Description: "PostgreSQL user name to connect as",
|
||||||
},
|
},
|
||||||
"password": {
|
"password": {
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
// TODO(sean@): Remove POSTGRESQL_PASSWORD in 0.8
|
// TODO(sean@): Remove POSTGRESQL_PASSWORD in 0.8
|
||||||
DefaultFunc: schema.MultiEnvDefaultFunc([]string{"PGPASSWORD", "POSTGRESQL_PASSWORD"}, nil),
|
DefaultFunc: schema.MultiEnvDefaultFunc([]string{"PGPASSWORD", "POSTGRESQL_PASSWORD"}, nil),
|
||||||
Description: "Password for PostgreSQL server connection",
|
Description: "Password to be used if the PostgreSQL server demands password authentication",
|
||||||
},
|
},
|
||||||
"sslmode": {
|
"sslmode": {
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
DefaultFunc: schema.EnvDefaultFunc("PGSSLMODE", nil),
|
DefaultFunc: schema.EnvDefaultFunc("PGSSLMODE", nil),
|
||||||
Description: "Connection mode for PostgreSQL server",
|
Description: "This option determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the PostgreSQL server",
|
||||||
},
|
},
|
||||||
"connect_timeout": {
|
"connect_timeout": {
|
||||||
Type: schema.TypeInt,
|
Type: schema.TypeInt,
|
||||||
|
|
Loading…
Reference in New Issue