Name | Version |
---|---|
terraform | ~> 1.7 |
postgresql | ~>1.19 |
random | ~>3.5 |
Name | Version |
---|---|
postgresql | ~>1.19 |
random | ~>3.5 |
No modules.
Name | Type |
---|---|
postgresql_database.main | resource |
postgresql_grant.database | resource |
postgresql_role.role | resource |
random_password.password | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
allow_connections | If false then no one can connect to this database |
bool |
true |
no |
connection_limit | How many concurrent connections can be established to this database | number |
-1 |
no |
encoding | Character set encoding to use in the database | string |
"UTF8" |
no |
lc_collate | Collation order LC_COLLATE to use in the database |
string |
"C" |
no |
lc_ctype | Character classification LC_CTYPE to use in the database |
string |
"C" |
no |
make_owner | Set role as an owner of database | bool |
false |
no |
name | The name of the database | string |
n/a | yes |
password | Owner role's password parameters | object({ |
{} |
no |
privileges | The list of privileges to grant role for the database | list(string) |
[ |
no |
role | The name of the role, default - name of database | string |
null |
no |
Name | Description |
---|---|
name | Database name |
role_name | Role name |
role_password | Role password |