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
-`connection_name` (String) The connection name of the Google Cloud SQL Postgresql instance. The `connection_name` format should be `<project>:<region>:<instance>`
39
-
-`password` (String, Sensitive) The password to use to authenticate using the built-in database authentication
40
-
-`private_ip` (Boolean) Use the private IP address of the Cloud SQL Postgresql instance to connect to
41
-
-`proxy` (String) Proxy socks url if used. Format needs to be `socks5://<ip>:<port>`
42
-
-`psc` (Boolean) Use the Private Service Connect endpoint of the Cloud SQL Postgresql instance to connect to
43
-
-`ssl_mode` (String) Determine the security of the connection to the Cloud SQL Postgresql instance
44
-
-`username` (String) The username to use to authenticate with the Cloud SQL Postgresql instance
Copy file name to clipboardExpand all lines: docs/resources/default_privileges.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ The `cloudsqlpostgresql_default_privileges` resource allows to set the privilege
17
17
18
18
### Required
19
19
20
-
-`database` (String) The database
20
+
-`connection_config` (Attributes) The connection properties for the Cloud SQL instance. (see [below for nested schema](#nestedatt--connection_config))
21
21
-`owner` (String) The target role
22
22
-`privileges` (Attributes Set) A list of privileges (see [below for nested schema](#nestedatt--privileges))
23
23
-`role` (String) The role
@@ -27,6 +27,24 @@ The `cloudsqlpostgresql_default_privileges` resource allows to set the privilege
27
27
-`object_type` (String) The object type, can be `TABLES`, `SEQUENCES`, `FUNCTIONS`, `ROUTINES`, `TYPES` or `SCHEMAS`. Defaults to `TABLES`.
28
28
-`schema` (String) The schema
29
29
30
+
<aid="nestedatt--connection_config"></a>
31
+
### Nested Schema for `connection_config`
32
+
33
+
Required:
34
+
35
+
-`connection_name` (String) The connection name of the Google Cloud SQL Postgresql instance. The `connection_name` format should be `<project>:<region>:<instance>`
36
+
-`password` (String, Sensitive) The password to use to authenticate using the built-in database authentication
37
+
-`username` (String) The username to use to authenticate with the Cloud SQL Postgresql instance
38
+
39
+
Optional:
40
+
41
+
-`database` (String) The database to connect to. Defaults to `postgres`.
42
+
-`private_ip` (Boolean) Use the private IP address of the Cloud SQL Postgresql instance to connect to
43
+
-`proxy` (String) Proxy socks url if used. Format needs to be `socks5://<ip>:<port>`
44
+
-`psc` (Boolean) Use the Private Service Connect endpoint of the Cloud SQL Postgresql instance to connect to
45
+
-`ssl_mode` (String) Determine the security of the connection to the Cloud SQL Postgresql instance
-`connection_config` (Attributes) The connection properties for the Cloud SQL instance. (see [below for nested schema](#nestedatt--connection_config))
32
33
-`database` (String) The database on which the privileges will be granted for this role.
33
34
-`privileges` (Attributes Set) A list of privileges to grant on the database for this role. (see [below for nested schema](#nestedatt--privileges))
34
35
-`role` (String) The name of the role to grant privileges on the database. Can be username or role.
35
36
37
+
<aid="nestedatt--connection_config"></a>
38
+
### Nested Schema for `connection_config`
39
+
40
+
Required:
41
+
42
+
-`connection_name` (String) The connection name of the Google Cloud SQL Postgresql instance. The `connection_name` format should be `<project>:<region>:<instance>`
43
+
-`password` (String, Sensitive) The password to use to authenticate using the built-in database authentication
44
+
-`username` (String) The username to use to authenticate with the Cloud SQL Postgresql instance
45
+
46
+
Optional:
47
+
48
+
-`database` (String) The database to connect to. Defaults to `postgres`.
49
+
-`private_ip` (Boolean) Use the private IP address of the Cloud SQL Postgresql instance to connect to
50
+
-`proxy` (String) Proxy socks url if used. Format needs to be `socks5://<ip>:<port>`
51
+
-`psc` (Boolean) Use the Private Service Connect endpoint of the Cloud SQL Postgresql instance to connect to
52
+
-`ssl_mode` (String) Determine the security of the connection to the Cloud SQL Postgresql instance
Copy file name to clipboardExpand all lines: docs/resources/grant_role.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,9 +17,27 @@ The `cloudsqlpostgresql_grant_role` resource creates and manages role membership
17
17
18
18
### Required
19
19
20
+
-`connection_config` (Attributes) The connection properties for the Cloud SQL instance. (see [below for nested schema](#nestedatt--connection_config))
20
21
-`group_role` (String) The `group_role` that will get the `role` as member
21
22
-`role` (String) The `role` that will be a member of the `group_role`
22
23
23
24
### Optional
24
25
25
26
-`admin_option` (Boolean) Enable admin option
27
+
28
+
<aid="nestedatt--connection_config"></a>
29
+
### Nested Schema for `connection_config`
30
+
31
+
Required:
32
+
33
+
-`connection_name` (String) The connection name of the Google Cloud SQL Postgresql instance. The `connection_name` format should be `<project>:<region>:<instance>`
34
+
-`password` (String, Sensitive) The password to use to authenticate using the built-in database authentication
35
+
-`username` (String) The username to use to authenticate with the Cloud SQL Postgresql instance
36
+
37
+
Optional:
38
+
39
+
-`database` (String) The database to connect to. Defaults to `postgres`.
40
+
-`private_ip` (Boolean) Use the private IP address of the Cloud SQL Postgresql instance to connect to
41
+
-`proxy` (String) Proxy socks url if used. Format needs to be `socks5://<ip>:<port>`
42
+
-`psc` (Boolean) Use the Private Service Connect endpoint of the Cloud SQL Postgresql instance to connect to
43
+
-`ssl_mode` (String) Determine the security of the connection to the Cloud SQL Postgresql instance
-`database` (String) The database where the schema resides.
33
+
-`connection_config` (Attributes) The connection properties for the Cloud SQL instance. (see [below for nested schema](#nestedatt--connection_config))
34
34
-`privileges` (Attributes Set) A list of privileges to grant on the schema for this role. (see [below for nested schema](#nestedatt--privileges))
35
35
-`role` (String) The name of the role to grant privileges on the schema. Can be username or role.
36
36
-`schema` (String) The schema on which the privileges will be granted for this role.
37
37
38
+
<aid="nestedatt--connection_config"></a>
39
+
### Nested Schema for `connection_config`
40
+
41
+
Required:
42
+
43
+
-`connection_name` (String) The connection name of the Google Cloud SQL Postgresql instance. The `connection_name` format should be `<project>:<region>:<instance>`
44
+
-`password` (String, Sensitive) The password to use to authenticate using the built-in database authentication
45
+
-`username` (String) The username to use to authenticate with the Cloud SQL Postgresql instance
46
+
47
+
Optional:
48
+
49
+
-`database` (String) The database to connect to. Defaults to `postgres`.
50
+
-`private_ip` (Boolean) Use the private IP address of the Cloud SQL Postgresql instance to connect to
51
+
-`proxy` (String) Proxy socks url if used. Format needs to be `socks5://<ip>:<port>`
52
+
-`psc` (Boolean) Use the Private Service Connect endpoint of the Cloud SQL Postgresql instance to connect to
53
+
-`ssl_mode` (String) Determine the security of the connection to the Cloud SQL Postgresql instance
-`database` (String) The database where the table resides.
37
+
-`connection_config` (Attributes) The connection properties for the Cloud SQL instance. (see [below for nested schema](#nestedatt--connection_config))
38
38
-`privileges` (Attributes Set) A list of privileges to grant on the table for this role. (see [below for nested schema](#nestedatt--privileges))
39
39
-`role` (String) The name of the role to grant privileges on the table. Can be username or role.
40
40
-`schema` (String) The schema where the table resides.
41
41
-`table` (String) The table on which the privileges will be granted for this role.
42
42
43
+
<aid="nestedatt--connection_config"></a>
44
+
### Nested Schema for `connection_config`
45
+
46
+
Required:
47
+
48
+
-`connection_name` (String) The connection name of the Google Cloud SQL Postgresql instance. The `connection_name` format should be `<project>:<region>:<instance>`
49
+
-`password` (String, Sensitive) The password to use to authenticate using the built-in database authentication
50
+
-`username` (String) The username to use to authenticate with the Cloud SQL Postgresql instance
51
+
52
+
Optional:
53
+
54
+
-`database` (String) The database to connect to. Defaults to `postgres`.
55
+
-`private_ip` (Boolean) Use the private IP address of the Cloud SQL Postgresql instance to connect to
56
+
-`proxy` (String) Proxy socks url if used. Format needs to be `socks5://<ip>:<port>`
57
+
-`psc` (Boolean) Use the Private Service Connect endpoint of the Cloud SQL Postgresql instance to connect to
58
+
-`ssl_mode` (String) Determine the security of the connection to the Cloud SQL Postgresql instance
Copy file name to clipboardExpand all lines: docs/resources/role.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ The `cloudsqlpostgresql_role` resource creates and manages a role. The superuser
17
17
18
18
### Required
19
19
20
+
-`connection_config` (Attributes) The connection properties for the Cloud SQL instance. (see [below for nested schema](#nestedatt--connection_config))
20
21
-`name` (String) The name of the role
21
22
22
23
### Optional
@@ -30,3 +31,20 @@ The `cloudsqlpostgresql_role` resource creates and manages a role. The superuser
30
31
-`is_user` (Boolean) Is this role a user that can login
31
32
-`is_valid_until` (String) Sets a date and time after which the role's password is no longer valid
32
33
-`password` (String, Sensitive) Sets the role's password
34
+
35
+
<aid="nestedatt--connection_config"></a>
36
+
### Nested Schema for `connection_config`
37
+
38
+
Required:
39
+
40
+
-`connection_name` (String) The connection name of the Google Cloud SQL Postgresql instance. The `connection_name` format should be `<project>:<region>:<instance>`
41
+
-`password` (String, Sensitive) The password to use to authenticate using the built-in database authentication
42
+
-`username` (String) The username to use to authenticate with the Cloud SQL Postgresql instance
43
+
44
+
Optional:
45
+
46
+
-`database` (String) The database to connect to. Defaults to `postgres`.
47
+
-`private_ip` (Boolean) Use the private IP address of the Cloud SQL Postgresql instance to connect to
48
+
-`proxy` (String) Proxy socks url if used. Format needs to be `socks5://<ip>:<port>`
49
+
-`psc` (Boolean) Use the Private Service Connect endpoint of the Cloud SQL Postgresql instance to connect to
50
+
-`ssl_mode` (String) Determine the security of the connection to the Cloud SQL Postgresql instance
0 commit comments