|
1 | 1 | <!-- BEGIN_TF_DOCS --> |
2 | | -# Database |
| 2 | +## Requirements |
3 | 3 |
|
4 | | -Add description. |
| 4 | +| Name | Version | |
| 5 | +|------|---------| |
| 6 | +| <a name="requirement_postgresql"></a> [postgresql](#requirement\_postgresql) | 1.25.0 | |
5 | 7 |
|
| 8 | +## Providers |
6 | 9 |
|
| 10 | +| Name | Version | |
| 11 | +|------|---------| |
| 12 | +| <a name="provider_aws"></a> [aws](#provider\_aws) | n/a | |
| 13 | +| <a name="provider_postgresql"></a> [postgresql](#provider\_postgresql) | 1.25.0 | |
| 14 | + |
| 15 | +## Modules |
| 16 | + |
| 17 | +| Name | Source | Version | |
| 18 | +|------|--------|---------| |
| 19 | +| <a name="module_db_owner_password"></a> [db\_owner\_password](#module\_db\_owner\_password) | ../secret | n/a | |
| 20 | +| <a name="module_db_owner_username"></a> [db\_owner\_username](#module\_db\_owner\_username) | ../secret | n/a | |
| 21 | +| <a name="module_db_user_password"></a> [db\_user\_password](#module\_db\_user\_password) | ../secret | n/a | |
| 22 | +| <a name="module_db_user_username"></a> [db\_user\_username](#module\_db\_user\_username) | ../secret | n/a | |
| 23 | +| <a name="module_db_viewer_password"></a> [db\_viewer\_password](#module\_db\_viewer\_password) | ../secret | n/a | |
| 24 | +| <a name="module_db_viewer_username"></a> [db\_viewer\_username](#module\_db\_viewer\_username) | ../secret | n/a | |
7 | 25 |
|
8 | 26 | ## Resources |
9 | 27 |
|
10 | 28 | | Name | Type | |
11 | 29 | |------|------| |
12 | | -| [aws_ssm_parameter.rds_dbowner_password](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssm_parameter) | resource | |
13 | | -| [aws_ssm_parameter.rds_dbuser_password](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssm_parameter) | resource | |
14 | | -| [aws_ssm_parameter.rds_dbviewer_password](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssm_parameter) | resource | |
15 | | -| [postgresql_database.db](https://registry.terraform.io/providers/cyrilgdn/postgresql/latest/docs/resources/database) | resource | |
16 | | -| [postgresql_grant.user](https://registry.terraform.io/providers/cyrilgdn/postgresql/latest/docs/resources/grant) | resource | |
17 | | -| [postgresql_grant.viewer](https://registry.terraform.io/providers/cyrilgdn/postgresql/latest/docs/resources/grant) | resource | |
18 | | -| [postgresql_role.db_owner](https://registry.terraform.io/providers/cyrilgdn/postgresql/latest/docs/resources/role) | resource | |
19 | | -| [postgresql_role.db_user](https://registry.terraform.io/providers/cyrilgdn/postgresql/latest/docs/resources/role) | resource | |
20 | | -| [postgresql_role.db_viewer](https://registry.terraform.io/providers/cyrilgdn/postgresql/latest/docs/resources/role) | resource | |
| 30 | +| [postgresql_database.db](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/database) | resource | |
| 31 | +| [postgresql_grant.user](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant) | resource | |
| 32 | +| [postgresql_grant.viewer](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/grant) | resource | |
| 33 | +| [postgresql_role.db_owner](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role) | resource | |
| 34 | +| [postgresql_role.db_user](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role) | resource | |
| 35 | +| [postgresql_role.db_viewer](https://registry.terraform.io/providers/cyrilgdn/postgresql/1.25.0/docs/resources/role) | resource | |
21 | 36 | | [aws_db_instance.shared](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/db_instance) | data source | |
22 | | -| [aws_secretsmanager_random_password.db_password_init](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/secretsmanager_random_password) | data source | |
| 37 | + |
23 | 38 | ## Inputs |
24 | 39 |
|
25 | 40 | | Name | Description | Type | Default | Required | |
26 | 41 | |------|-------------|------|---------|:--------:| |
27 | | -| <a name="input_db_name"></a> [db\_name](#input\_db\_name) | n/a | `string` | n/a | yes | |
| 42 | +| <a name="input_application_type"></a> [application\_type](#input\_application\_type) | n/a | `string` | n/a | yes | |
28 | 43 | | <a name="input_environment"></a> [environment](#input\_environment) | n/a | `string` | n/a | yes | |
29 | | -| <a name="input_owner_name"></a> [owner\_name](#input\_owner\_name) | n/a | `string` | n/a | yes | |
30 | | -| <a name="input_shared_configuration"></a> [shared\_configuration](#input\_shared\_configuration) | Configuration object from shared resources | <pre>object({<br> alb_arn = string<br> alb_https_listener_arn = string<br> cluster_id = string<br> cluster_name = string<br> task_execution_role_arn = string<br> db_identifier = string<br> vpc_id = string<br> public_subnet_ids = set(string)<br> })</pre> | n/a | yes | |
31 | | -| <a name="input_user_name"></a> [user\_name](#input\_user\_name) | n/a | `string` | `""` | no | |
32 | | -| <a name="input_viewer_name"></a> [viewer\_name](#input\_viewer\_name) | n/a | `string` | `""` | no | |
| 44 | +| <a name="input_project_name"></a> [project\_name](#input\_project\_name) | n/a | `string` | n/a | yes | |
| 45 | + |
33 | 46 | ## Outputs |
34 | 47 |
|
35 | 48 | | Name | Description | |
36 | 49 | |------|-------------| |
37 | 50 | | <a name="output_database"></a> [database](#output\_database) | n/a | |
38 | 51 | | <a name="output_host"></a> [host](#output\_host) | n/a | |
39 | | -| <a name="output_owner"></a> [owner](#output\_owner) | n/a | |
| 52 | +| <a name="output_owner_password"></a> [owner\_password](#output\_owner\_password) | n/a | |
40 | 53 | | <a name="output_owner_password_arn"></a> [owner\_password\_arn](#output\_owner\_password\_arn) | n/a | |
| 54 | +| <a name="output_owner_username"></a> [owner\_username](#output\_owner\_username) | n/a | |
41 | 55 | | <a name="output_port"></a> [port](#output\_port) | n/a | |
42 | | -| <a name="output_user"></a> [user](#output\_user) | n/a | |
| 56 | +| <a name="output_user_password"></a> [user\_password](#output\_user\_password) | n/a | |
43 | 57 | | <a name="output_user_password_arn"></a> [user\_password\_arn](#output\_user\_password\_arn) | n/a | |
44 | | -| <a name="output_viewer"></a> [viewer](#output\_viewer) | n/a | |
| 58 | +| <a name="output_user_username"></a> [user\_username](#output\_user\_username) | n/a | |
| 59 | +| <a name="output_viewer_password"></a> [viewer\_password](#output\_viewer\_password) | n/a | |
45 | 60 | | <a name="output_viewer_password_arn"></a> [viewer\_password\_arn](#output\_viewer\_password\_arn) | n/a | |
46 | | -## Providers |
47 | | - |
48 | | -| Name | Version | |
49 | | -|------|---------| |
50 | | -| <a name="provider_aws"></a> [aws](#provider\_aws) | n/a | |
51 | | -| <a name="provider_postgresql"></a> [postgresql](#provider\_postgresql) | ~> 1.21.0 | |
52 | | -## Requirements |
53 | | - |
54 | | -| Name | Version | |
55 | | -|------|---------| |
56 | | -| <a name="requirement_postgresql"></a> [postgresql](#requirement\_postgresql) | ~> 1.21.0 | |
57 | | - |
58 | | -To automatically update this documentation, install terraform-docs on your local machine run the following: |
59 | | - cd <directory of README location to update> |
60 | | - terraform-docs -c .terraform.docs.yml . |
| 61 | +| <a name="output_viewer_username"></a> [viewer\_username](#output\_viewer\_username) | n/a | |
61 | 62 | <!-- END_TF_DOCS --> |
0 commit comments