Skip to content

Commit be467f1

Browse files
committed
Add variable description
1 parent 75b7853 commit be467f1

File tree

2 files changed

+26
-26
lines changed

2 files changed

+26
-26
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -70,23 +70,23 @@ module "opensearch" {
7070

7171
| Name | Description | Type | Default | Required |
7272
|------|-------------|------|---------|:--------:|
73-
| <a name="input_create_opensearch"></a> [create\_opensearch](#input\_create\_opensearch) | create\_opensearch | `bool` | `false` | no |
73+
| <a name="input_create_opensearch"></a> [create\_opensearch](#input\_create\_opensearch) | Whether to create OpenSearch cluster | `bool` | `false` | no |
7474
| <a name="input_enable_advanced_security_options"></a> [enable\_advanced\_security\_options](#input\_enable\_advanced\_security\_options) | Whether advanced security is enabled | `bool` | `true` | no |
7575
| <a name="input_enable_internal_user_database"></a> [enable\_internal\_user\_database](#input\_enable\_internal\_user\_database) | Whether the internal user database is enabled | `bool` | `false` | no |
76-
| <a name="input_enable_saml"></a> [enable\_saml](#input\_enable\_saml) | enable\_saml | `bool` | `true` | no |
77-
| <a name="input_environment"></a> [environment](#input\_environment) | Environment | `string` | n/a | yes |
76+
| <a name="input_enable_saml"></a> [enable\_saml](#input\_enable\_saml) | Whether OpenSearch SAML options are enabled | `bool` | `true` | no |
77+
| <a name="input_environment"></a> [environment](#input\_environment) | Environment name | `string` | n/a | yes |
7878
| <a name="input_master_user_arn"></a> [master\_user\_arn](#input\_master\_user\_arn) | User or role arn which is provisioning opensearch. This role is used to configure opensearch TF provider. | `string` | `null` | no |
7979
| <a name="input_name_prefix"></a> [name\_prefix](#input\_name\_prefix) | Prefix to be used with resources | `string` | n/a | yes |
80-
| <a name="input_opensearch_engine_version"></a> [opensearch\_engine\_version](#input\_opensearch\_engine\_version) | opensearch\_engine\_version | `string` | `"OpenSearch_1.2"` | no |
81-
| <a name="input_opensearch_instance_count"></a> [opensearch\_instance\_count](#input\_opensearch\_instance\_count) | opensearch\_instance\_count | `string` | `"1"` | no |
82-
| <a name="input_opensearch_instance_type"></a> [opensearch\_instance\_type](#input\_opensearch\_instance\_type) | opensearch\_instance\_type | `string` | `"t3.small.search"` | no |
83-
| <a name="input_opensearch_subdomain"></a> [opensearch\_subdomain](#input\_opensearch\_subdomain) | opensearch\_subdomain | `string` | `"opensearch"` | no |
84-
| <a name="input_opensearch_volume_size"></a> [opensearch\_volume\_size](#input\_opensearch\_volume\_size) | opensearch\_volume\_size | `number` | `40` | no |
85-
| <a name="input_region"></a> [region](#input\_region) | Region | `string` | n/a | yes |
86-
| <a name="input_roles_mappings"></a> [roles\_mappings](#input\_roles\_mappings) | roles\_mappings | <pre>map(object({<br> description = optional(string)<br> backend_roles = list(string)<br> }))</pre> | `{}` | no |
87-
| <a name="input_route_53_zone_name"></a> [route\_53\_zone\_name](#input\_route\_53\_zone\_name) | route\_53\_zone\_name | `string` | n/a | yes |
88-
| <a name="input_sso_admins_group_id"></a> [sso\_admins\_group\_id](#input\_sso\_admins\_group\_id) | sso\_admins\_group\_id | `string` | `null` | no |
89-
| <a name="input_sso_entity_id"></a> [sso\_entity\_id](#input\_sso\_entity\_id) | sso\_entity\_id | `string` | `null` | no |
80+
| <a name="input_opensearch_engine_version"></a> [opensearch\_engine\_version](#input\_opensearch\_engine\_version) | Either Elasticsearch\_X.Y or OpenSearch\_X.Y to specify the engine version for the Amazon OpenSearch Service domain | `string` | `"OpenSearch_1.2"` | no |
81+
| <a name="input_opensearch_instance_count"></a> [opensearch\_instance\_count](#input\_opensearch\_instance\_count) | Number of instances in the cluster | `string` | `"1"` | no |
82+
| <a name="input_opensearch_instance_type"></a> [opensearch\_instance\_type](#input\_opensearch\_instance\_type) | Instance type of data nodes in the cluster | `string` | `"t3.small.search"` | no |
83+
| <a name="input_opensearch_subdomain"></a> [opensearch\_subdomain](#input\_opensearch\_subdomain) | Route53 OpenSearch subdomain | `string` | `"opensearch"` | no |
84+
| <a name="input_opensearch_volume_size"></a> [opensearch\_volume\_size](#input\_opensearch\_volume\_size) | Size of EBS volumes attached to data nodes (in GiB) | `number` | `40` | no |
85+
| <a name="input_region"></a> [region](#input\_region) | Region name | `string` | n/a | yes |
86+
| <a name="input_roles_mappings"></a> [roles\_mappings](#input\_roles\_mappings) | OpenSearch roles mappings | <pre>map(object({<br> description = optional(string)<br> backend_roles = list(string)<br> }))</pre> | `{}` | no |
87+
| <a name="input_route_53_zone_name"></a> [route\_53\_zone\_name](#input\_route\_53\_zone\_name) | Route53 DNS zone | `string` | n/a | yes |
88+
| <a name="input_sso_admins_group_id"></a> [sso\_admins\_group\_id](#input\_sso\_admins\_group\_id) | AWS SSO admins group | `string` | `null` | no |
89+
| <a name="input_sso_entity_id"></a> [sso\_entity\_id](#input\_sso\_entity\_id) | AWS SSO entity ID | `string` | `null` | no |
9090

9191
## Outputs
9292

variables.tf

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
variable "region" {
2-
description = "Region"
2+
description = "Region name"
33
type = string
44
}
55

@@ -9,47 +9,47 @@ variable "name_prefix" {
99
}
1010

1111
variable "environment" {
12-
description = "Environment"
12+
description = "Environment name"
1313
type = string
1414
}
1515

1616
variable "create_opensearch" {
17-
description = "create_opensearch"
17+
description = "Whether to create OpenSearch cluster"
1818
type = bool
1919
default = false
2020
}
2121

2222
variable "route_53_zone_name" {
23-
description = "route_53_zone_name"
23+
description = "Route53 DNS zone"
2424
type = string
2525
}
2626

2727
variable "opensearch_subdomain" {
28-
description = "opensearch_subdomain"
28+
description = "Route53 OpenSearch subdomain"
2929
type = string
3030
default = "opensearch"
3131
}
3232

3333
variable "opensearch_engine_version" {
34-
description = "opensearch_engine_version"
34+
description = "Either Elasticsearch_X.Y or OpenSearch_X.Y to specify the engine version for the Amazon OpenSearch Service domain"
3535
type = string
3636
default = "OpenSearch_1.2"
3737
}
3838

3939
variable "opensearch_instance_type" {
40-
description = "opensearch_instance_type"
40+
description = "Instance type of data nodes in the cluster"
4141
type = string
4242
default = "t3.small.search"
4343
}
4444

4545
variable "opensearch_instance_count" {
46-
description = "opensearch_instance_count"
46+
description = "Number of instances in the cluster"
4747
type = string
4848
default = "1"
4949
}
5050

5151
variable "opensearch_volume_size" {
52-
description = "opensearch_volume_size"
52+
description = "Size of EBS volumes attached to data nodes (in GiB)"
5353
type = number
5454
default = 40
5555
}
@@ -75,27 +75,27 @@ variable "master_user_arn" {
7575
# SAML
7676

7777
variable "enable_saml" {
78-
description = "enable_saml"
78+
description = "Whether OpenSearch SAML options are enabled"
7979
type = bool
8080
default = true
8181
}
8282

8383
variable "sso_entity_id" {
84-
description = "sso_entity_id"
84+
description = "AWS SSO entity ID"
8585
type = string
8686
default = null
8787
}
8888

8989
variable "sso_admins_group_id" {
90-
description = "sso_admins_group_id"
90+
description = "AWS SSO admins group"
9191
type = string
9292
default = null
9393
}
9494

9595
# OpenSearch roles
9696

9797
variable "roles_mappings" {
98-
description = "roles_mappings"
98+
description = "OpenSearch roles mappings"
9999
type = map(object({
100100
description = optional(string)
101101
backend_roles = list(string)

0 commit comments

Comments
 (0)