Skip to content

Commit bbf908a

Browse files
committed
Fix typos in variables descriptions
1 parent 820ca23 commit bbf908a

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

docs/terraform.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@
2323
| db\_instance\_id | DB Instance Identifier | `string` | n/a | yes |
2424
| 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 |
2525
| 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 |
2727
| 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 |
2828
| 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 |
3232
| 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 |
3333
| delimiter | Delimiter to be used between `namespace`, `name`, `stage` and `attributes` | `string` | `"-"` | no |
3434
| enabled | Defines whether this module should create resources | `bool` | `true` | no |
3535
| 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 |
3737
| logs\_kms\_key\_id | KMS Key Id for Lambda function logs ecnryption | `string` | `null` | no |
3838
| logs\_retention\_days | Lambda function logs retentions in days | `number` | `null` | no |
3939
| memory | Amount of memory in MB your Lambda Function can use at runtime | `number` | `256` | no |
@@ -42,7 +42,7 @@
4242
| stage | Stage (e.g. `prod`, `dev`, `staging`) | `string` | `""` | no |
4343
| tags | Additional tags (e.g. `map(`BusinessUnit`,`XYZ`)` | `map(string)` | `{}` | no |
4444
| 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 |
4646

4747
## Outputs
4848

variables.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ variable "vpc_config" {
5858
subnet_ids = list(string)
5959
security_group_ids = list(string)
6060
})
61-
description = "VPC configuratiuon for Lambda function"
61+
description = "VPC configuration for Lambda function"
6262
}
6363

6464
variable "kms_key" {
6565
type = string
6666
default = null
67-
description = "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."
67+
description = "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."
6868
}
6969

7070
variable "invoke" {
@@ -93,7 +93,7 @@ variable "db_instance_id" {
9393
variable "db_master_password_ssm_param" {
9494
type = string
9595
default = null
96-
description = "Name of SSM Parameter that stores password for master user. This param takes precendence other `db_master_password`"
96+
description = "Name of SSM Parameter that stores password for master user. This param takes precedence other `db_master_password`"
9797
}
9898

9999
variable "db_master_password_ssm_param_kms_key" {
@@ -121,14 +121,14 @@ variable "db_name" {
121121

122122
variable "db_user" {
123123
type = string
124-
description = "Name of user that should be created and own (has all persmiison to) the provisioned database. If left empty, no user will be created"
124+
description = "Name of user that should be created and own (has all permission to) the provisioned database. If left empty, no user will be created"
125125
default = null
126126
}
127127

128128
variable "db_user_password_ssm_param" {
129129
type = string
130130
default = null
131-
description = "Name of SSM Parameter that stores password for provisioned user. This param takes precendence other `db_user_password`"
131+
description = "Name of SSM Parameter that stores password for provisioned user. This param takes precedence other `db_user_password`"
132132
}
133133

134134
variable "db_user_password_ssm_param_kms_key" {
@@ -139,7 +139,7 @@ variable "db_user_password_ssm_param_kms_key" {
139139

140140
variable "db_user_password" {
141141
type = string
142-
description = "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"
142+
description = "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"
143143
default = null
144144
}
145145

0 commit comments

Comments
 (0)