|
23 | 23 | | db\_instance\_id | DB Instance Identifier | `string` | n/a | yes |
|
24 | 24 | | db\_instance\_security\_group\_id | DB instance security group to add rules to. Rules will allow communication between Lambda and DB instance | `string` | `null` | no |
|
25 | 25 | | db\_master\_password | DB Instance master password. The usage of this parameter is discouraged. Consider putting db password in SSM Parameter Store and passing its ARN to the module via `db_master_password_ssm_parameter_arn` parameter | `string` | `null` | no |
|
26 |
| -| db\_master\_password\_ssm\_param | Name of SSM Parameter that stores password for master user. This param takes precendence other `db_master_password` | `string` | `null` | no | |
| 26 | +| db\_master\_password\_ssm\_param | Name of SSM Parameter that stores password for master user. This param takes precedence other `db_master_password` | `string` | `null` | no | |
27 | 27 | | db\_master\_password\_ssm\_param\_kms\_key | Identifier of KMS key used for encryption of SSM Parameter that stores password for master user | `string` | `null` | no |
|
28 | 28 | | db\_name | Database name that should be created | `string` | n/a | yes |
|
29 |
| -| db\_user | Name of user that should be created and own (has all persmiison to) the provisioned database. If left empty, no user will be created | `string` | `null` | no | |
30 |
| -| db\_user\_password | Password for the user that should be created and own (has all persmiison to) the provisioned database. Ignored if `db_user` is set to null | `string` | `null` | no | |
31 |
| -| db\_user\_password\_ssm\_param | Name of SSM Parameter that stores password for provisioned user. This param takes precendence other `db_user_password` | `string` | `null` | no | |
| 29 | +| db\_user | Name of user that should be created and own (has all permission to) the provisioned database. If left empty, no user will be created | `string` | `null` | no | |
| 30 | +| db\_user\_password | Password for the user that should be created and own (has all permission to) the provisioned database. Ignored if `db_user` is set to null | `string` | `null` | no | |
| 31 | +| db\_user\_password\_ssm\_param | Name of SSM Parameter that stores password for provisioned user. This param takes precedence other `db_user_password` | `string` | `null` | no | |
32 | 32 | | db\_user\_password\_ssm\_param\_kms\_key | Identifier of KMS key used for encryption of SSM Parameter that stores password for provisioned user | `string` | `null` | no |
|
33 | 33 | | delimiter | Delimiter to be used between `namespace`, `name`, `stage` and `attributes` | `string` | `"-"` | no |
|
34 | 34 | | enabled | Defines whether this module should create resources | `bool` | `true` | no |
|
35 | 35 | | invoke | Defines whether lambda function should be invoked immediately after provisioning | `bool` | `true` | no |
|
36 |
| -| kms\_key | KMS key identifier. Acceptes the same format as KMS key data source (https://www.terraform.io/docs/providers/aws/d/kms_key.html). If this configuration is not provided when environment variables are in use, AWS Lambda uses a default service key. | `string` | `null` | no | |
| 36 | +| kms\_key | KMS key identifier. Accepts the same format as KMS key data source (https://www.terraform.io/docs/providers/aws/d/kms_key.html). If this configuration is not provided when environment variables are in use, AWS Lambda uses a default service key. | `string` | `null` | no | |
37 | 37 | | logs\_kms\_key\_id | KMS Key Id for Lambda function logs ecnryption | `string` | `null` | no |
|
38 | 38 | | logs\_retention\_days | Lambda function logs retentions in days | `number` | `null` | no |
|
39 | 39 | | memory | Amount of memory in MB your Lambda Function can use at runtime | `number` | `256` | no |
|
|
42 | 42 | | stage | Stage (e.g. `prod`, `dev`, `staging`) | `string` | `""` | no |
|
43 | 43 | | tags | Additional tags (e.g. `map(`BusinessUnit`,`XYZ`)` | `map(string)` | `{}` | no |
|
44 | 44 | | timeout | The amount of time your Lambda Function has to run in seconds | `number` | `30` | no |
|
45 |
| -| vpc\_config | VPC configuratiuon for Lambda function | <pre>object({<br> vpc_id = string<br> subnet_ids = list(string)<br> security_group_ids = list(string)<br> })</pre> | n/a | yes | |
| 45 | +| vpc\_config | VPC configuration for Lambda function | <pre>object({<br> vpc_id = string<br> subnet_ids = list(string)<br> security_group_ids = list(string)<br> })</pre> | n/a | yes | |
46 | 46 |
|
47 | 47 | ## Outputs
|
48 | 48 |
|
|
0 commit comments