You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-8Lines changed: 22 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ module "opensearch" {
24
24
Examples codified under the [`examples`](https://github.com/terraform-aws-modules/terraform-aws-opensearch/tree/master/examples) are intended to give users references for how to use the module(s) as well as testing/validating changes to the source code of the module. If contributing to the project, please be sure to make any appropriate updates to the relevant examples to allow maintainers to test your changes and to keep the examples up to date for users. Thank you!
|[aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)| data source |
59
63
|[aws_iam_policy_document.cloudwatch](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
60
64
|[aws_iam_policy_document.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
@@ -68,37 +72,43 @@ No modules.
68
72
| Name | Description | Type | Default | Required |
| <aname="input_access_policies"></a> [access\_policies](#input\_access\_policies)| IAM policy document specifying the access policies for the domain. Required if `create_access_policy` is `false`|`string`|`null`| no |
75
+
| <aname="input_access_policy_override_policy_documents"></a> [access\_policy\_override\_policy\_documents](#input\_access\_policy\_override\_policy\_documents)| List of IAM policy documents that are merged together into the exported document. In merging, statements with non-blank `sid`s will override statements with the same `sid`|`list(string)`|`[]`| no |
76
+
| <aname="input_access_policy_source_policy_documents"></a> [access\_policy\_source\_policy\_documents](#input\_access\_policy\_source\_policy\_documents)| List of IAM policy documents that are merged together into the exported document. Statements must have unique `sid`s |`list(string)`|`[]`| no |
71
77
| <aname="input_access_policy_statements"></a> [access\_policy\_statements](#input\_access\_policy\_statements)| A map of IAM policy [statements](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document#statement) for custom permission usage |`any`|`{}`| no |
72
78
| <aname="input_advanced_options"></a> [advanced\_options](#input\_advanced\_options)| Key-value string pairs to specify advanced configuration options. Note that the values for these configuration options must be strings (wrapped in quotes) or they may be wrong and cause a perpetual diff, causing Terraform to want to recreate your Elasticsearch domain on every apply |`map(string)`|`{}`| no |
73
79
| <aname="input_advanced_security_options"></a> [advanced\_security\_options](#input\_advanced\_security\_options)| Configuration block for [fine-grained access control](https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/fgac.html)|`any`| <pre>{<br> "anonymous_auth_enabled": false,<br> "enabled": true<br>}</pre> | no |
74
80
| <aname="input_auto_tune_options"></a> [auto\_tune\_options](#input\_auto\_tune\_options)| Configuration block for the Auto-Tune options of the domain |`any`| <pre>{<br> "desired_state": "ENABLED",<br> "rollback_on_disable": "NO_ROLLBACK"<br>}</pre> | no |
75
81
| <aname="input_cloudwatch_log_group_kms_key_id"></a> [cloudwatch\_log\_group\_kms\_key\_id](#input\_cloudwatch\_log\_group\_kms\_key\_id)| If a KMS Key ARN is set, this key will be used to encrypt the corresponding log group. Please be sure that the KMS Key has an appropriate key policy (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/encrypt-log-data-kms.html)|`string`|`null`| no |
76
-
| <aname="input_cloudwatch_log_group_retention_in_days"></a> [cloudwatch\_log\_group\_retention\_in\_days](#input\_cloudwatch\_log\_group\_retention\_in\_days)| Number of days to retain log events. Default retention - 90 days |`number`|`90`| no |
82
+
| <aname="input_cloudwatch_log_group_retention_in_days"></a> [cloudwatch\_log\_group\_retention\_in\_days](#input\_cloudwatch\_log\_group\_retention\_in\_days)| Number of days to retain log events|`number`|`60`| no |
77
83
| <aname="input_cloudwatch_log_resource_policy_name"></a> [cloudwatch\_log\_resource\_policy\_name](#input\_cloudwatch\_log\_resource\_policy\_name)| Name of the resource policy for OpenSearch to log to CloudWatch |`string`|`null`| no |
78
-
| <aname="input_cluster_config"></a> [cluster\_config](#input\_cluster\_config)| Configuration block for the cluster of the domain |`any`| <pre>{<br> "dedicated_master_count": 3,<br> "dedicated_master_enabled": true,<br> "dedicated_master_type": "c5.large.search",<br> "instance_count": 3,<br> "instance_type": "r5.large.search",<br> "zone_awareness_config": {<br> "availability_zone_count": 3<br> },<br> "zone_awareness_enabled": true<br>}</pre> | no |
84
+
| <aname="input_cluster_config"></a> [cluster\_config](#input\_cluster\_config)| Configuration block for the cluster of the domain |`any`| <pre>{<br> "dedicated_master_enabled": true<br>}</pre> | no |
79
85
| <aname="input_cognito_options"></a> [cognito\_options](#input\_cognito\_options)| Configuration block for authenticating Kibana with Cognito |`any`|`{}`| no |
80
86
| <aname="input_create"></a> [create](#input\_create)| Determines whether resources will be created (affects all resources) |`bool`|`true`| no |
81
87
| <aname="input_create_access_policy"></a> [create\_access\_policy](#input\_create\_access\_policy)| Determines whether an access policy will be created |`bool`|`true`| no |
82
88
| <aname="input_create_cloudwatch_log_groups"></a> [create\_cloudwatch\_log\_groups](#input\_create\_cloudwatch\_log\_groups)| Determines whether log groups are created |`bool`|`true`| no |
83
89
| <aname="input_create_cloudwatch_log_resource_policy"></a> [create\_cloudwatch\_log\_resource\_policy](#input\_create\_cloudwatch\_log\_resource\_policy)| Determines whether a resource policy will be created for OpenSearch to log to CloudWatch |`bool`|`true`| no |
84
90
| <aname="input_create_saml_options"></a> [create\_saml\_options](#input\_create\_saml\_options)| Determines whether SAML options will be created |`bool`|`false`| no |
85
-
| <aname="input_create_security_group"></a> [create\_security\_group](#input\_create\_security\_group)| Determines whether the security group is created |`bool`|`true`| no |
91
+
| <aname="input_create_security_group"></a> [create\_security\_group](#input\_create\_security\_group)| Determines if a security group is created |`bool`|`true`| no |
86
92
| <aname="input_domain_endpoint_options"></a> [domain\_endpoint\_options](#input\_domain\_endpoint\_options)| Configuration block for domain endpoint HTTP(S) related options |`any`| <pre>{<br> "enforce_https": true,<br> "tls_security_policy": "Policy-Min-TLS-1-2-2019-07"<br>}</pre> | no |
87
93
| <aname="input_domain_name"></a> [domain\_name](#input\_domain\_name)| Name of the domain |`string`|`""`| no |
88
94
| <aname="input_ebs_options"></a> [ebs\_options](#input\_ebs\_options)| Configuration block for EBS related options, may be required based on chosen [instance size](https://aws.amazon.com/elasticsearch-service/pricing/)|`any`| <pre>{<br> "ebs_enabled": true,<br> "volume_size": 64,<br> "volume_type": "gp3"<br>}</pre> | no |
89
95
| <aname="input_enable_access_policy"></a> [enable\_access\_policy](#input\_enable\_access\_policy)| Determines whether an access policy will be applied to the domain |`bool`|`true`| no |
90
96
| <aname="input_encrypt_at_rest"></a> [encrypt\_at\_rest](#input\_encrypt\_at\_rest)| Configuration block for encrypting at rest |`any`| <pre>{<br> "enabled": true<br>}</pre> | no |
91
-
| <aname="input_engine_version"></a> [engine\_version](#input\_engine\_version)| Version of the OpenSearch engine to use |`string`|`"OpenSearch_2.3"`| no |
97
+
| <aname="input_engine_version"></a> [engine\_version](#input\_engine\_version)| Version of the OpenSearch engine to use |`string`|`null`| no |
92
98
| <aname="input_log_publishing_options"></a> [log\_publishing\_options](#input\_log\_publishing\_options)| Configuration block for publishing slow and application logs to CloudWatch Logs. This block can be declared multiple times, for each log\_type, within the same resource |`any`| <pre>[<br> {<br> "log_type": "INDEX_SLOW_LOGS"<br> },<br> {<br> "log_type": "SEARCH_SLOW_LOGS"<br> },<br> {<br> "log_type": "AUDIT_LOGS"<br> }<br>]</pre> | no |
93
99
| <aname="input_node_to_node_encryption"></a> [node\_to\_node\_encryption](#input\_node\_to\_node\_encryption)| Configuration block for node-to-node encryption options |`any`| <pre>{<br> "enabled": true<br>}</pre> | no |
100
+
| <aname="input_off_peak_window_options"></a> [off\_peak\_window\_options](#input\_off\_peak\_window\_options)| Configuration to add Off Peak update options |`any`| <pre>{<br> "enabled": true,<br> "off_peak_window": {<br> "hours": 7<br> }<br>}</pre> | no |
94
101
| <aname="input_outbound_connections"></a> [outbound\_connections](#input\_outbound\_connections)| Map of AWS OpenSearch outbound connections to create |`any`|`{}`| no |
102
+
| <aname="input_package_associations"></a> [package\_associations](#input\_package\_associations)| Map of package association IDs to associate with the domain |`map(string)`|`{}`| no |
95
103
| <aname="input_saml_options"></a> [saml\_options](#input\_saml\_options)| SAML authentication options for an AWS OpenSearch Domain |`any`|`{}`| no |
96
104
| <aname="input_security_group_description"></a> [security\_group\_description](#input\_security\_group\_description)| Description of the security group created |`string`|`null`| no |
97
-
| <aname="input_security_group_name"></a> [security\_group\_name](#input\_security\_group\_name)| Name to use on manged security group created |`string`|`null`| no |
98
-
| <aname="input_security_group_rules"></a> [security\_group\_rules](#input\_security\_group\_rules)| Security group rules to add to the security group created |`any`|`{}`| no |
105
+
| <aname="input_security_group_name"></a> [security\_group\_name](#input\_security\_group\_name)| Name to use on security group created |`string`|`null`| no |
106
+
| <aname="input_security_group_rules"></a> [security\_group\_rules](#input\_security\_group\_rules)| Security group ingress and egress rules to add to the security group created |`any`|`{}`| no |
99
107
| <aname="input_security_group_tags"></a> [security\_group\_tags](#input\_security\_group\_tags)| A map of additional tags to add to the security group created |`map(string)`|`{}`| no |
100
108
| <aname="input_security_group_use_name_prefix"></a> [security\_group\_use\_name\_prefix](#input\_security\_group\_use\_name\_prefix)| Determines whether the security group name (`security_group_name`) is used as a prefix |`bool`|`true`| no |
109
+
| <aname="input_software_update_options"></a> [software\_update\_options](#input\_software\_update\_options)| Software update options for the domain |`any`| <pre>{<br> "auto_software_update_enabled": true<br>}</pre> | no |
101
110
| <aname="input_tags"></a> [tags](#input\_tags)| A map of tags to add to all resources |`map(string)`|`{}`| no |
111
+
| <aname="input_vpc_endpoints"></a> [vpc\_endpoints](#input\_vpc\_endpoints)| Map of VPC endpoints to create for the domain |`any`|`{}`| no |
102
112
| <aname="input_vpc_options"></a> [vpc\_options](#input\_vpc\_options)| Configuration block for VPC related options. Adding or removing this configuration forces a new resource ([documentation](https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html#es-vpc-limitations)) |`any`|`{}`| no |
103
113
104
114
## Outputs
@@ -107,10 +117,14 @@ No modules.
107
117
|------|-------------|
108
118
| <aname="output_cloudwatch_logs"></a> [cloudwatch\_logs](#output\_cloudwatch\_logs)| Map of CloudWatch log groups created and their attributes |
109
119
| <aname="output_domain_arn"></a> [domain\_arn](#output\_domain\_arn)| The Amazon Resource Name (ARN) of the domain |
120
+
| <aname="output_domain_dashboard_endpoint"></a> [domain\_dashboard\_endpoint](#output\_domain\_dashboard\_endpoint)| Domain-specific endpoint for Dashboard without https scheme |
110
121
| <aname="output_domain_endpoint"></a> [domain\_endpoint](#output\_domain\_endpoint)| Domain-specific endpoint used to submit index, search, and data upload requests |
111
122
| <aname="output_domain_id"></a> [domain\_id](#output\_domain\_id)| The unique identifier for the domain |
112
-
| <aname="output_domain_kibana_endpoint"></a> [domain\_kibana\_endpoint](#output\_domain\_kibana\_endpoint)| Domain-specific endpoint for kibana without https scheme |
113
123
| <aname="output_outbound_connections"></a> [outbound\_connections](#output\_outbound\_connections)| Map of outbound connections created and their attributes |
124
+
| <aname="output_package_associations"></a> [package\_associations](#output\_package\_associations)| Map of package associations created and their attributes |
125
+
| <aname="output_security_group_arn"></a> [security\_group\_arn](#output\_security\_group\_arn)| Amazon Resource Name (ARN) of the security group |
126
+
| <aname="output_security_group_id"></a> [security\_group\_id](#output\_security\_group\_id)| ID of the security group |
127
+
| <aname="output_vpc_endpoints"></a> [vpc\_endpoints](#output\_vpc\_endpoints)| Map of VPC endpoints created and their attributes |
| <aname="output_default_cloudwatch_logs"></a> [default\_cloudwatch\_logs](#output\_default\_cloudwatch\_logs)| Map of CloudWatch log groups created and their attributes |
57
-
| <aname="output_default_domain_arn"></a> [default\_domain\_arn](#output\_default\_domain\_arn)| The Amazon Resource Name (ARN) of the domain |
58
-
| <aname="output_default_domain_endpoint"></a> [default\_domain\_endpoint](#output\_default\_domain\_endpoint)| Domain-specific endpoint used to submit index, search, and data upload requests |
59
-
| <aname="output_default_domain_id"></a> [default\_domain\_id](#output\_default\_domain\_id)| The unique identifier for the domain |
60
-
| <aname="output_default_domain_kibana_endpoint"></a> [default\_domain\_kibana\_endpoint](#output\_default\_domain\_kibana\_endpoint)| Domain-specific endpoint for kibana without https scheme |
61
-
| <aname="output_default_outbound_connections"></a> [default\_outbound\_connections](#output\_default\_outbound\_connections)| Map of outbound connections created and their attributes |
53
+
| <aname="output_cloudwatch_logs"></a> [cloudwatch\_logs](#output\_cloudwatch\_logs)| Map of CloudWatch log groups created and their attributes |
54
+
| <aname="output_domain_arn"></a> [domain\_arn](#output\_domain\_arn)| The Amazon Resource Name (ARN) of the domain |
55
+
| <aname="output_domain_dashboard_endpoint"></a> [domain\_dashboard\_endpoint](#output\_domain\_dashboard\_endpoint)| Domain-specific endpoint for Dashboard without https scheme |
56
+
| <aname="output_domain_endpoint"></a> [domain\_endpoint](#output\_domain\_endpoint)| Domain-specific endpoint used to submit index, search, and data upload requests |
57
+
| <aname="output_domain_id"></a> [domain\_id](#output\_domain\_id)| The unique identifier for the domain |
58
+
| <aname="output_outbound_connections"></a> [outbound\_connections](#output\_outbound\_connections)| Map of outbound connections created and their attributes |
59
+
| <aname="output_package_associations"></a> [package\_associations](#output\_package\_associations)| Map of package associations created and their attributes |
60
+
| <aname="output_security_group_arn"></a> [security\_group\_arn](#output\_security\_group\_arn)| Amazon Resource Name (ARN) of the security group |
61
+
| <aname="output_security_group_id"></a> [security\_group\_id](#output\_security\_group\_id)| ID of the security group |
62
+
| <aname="output_vpc_endpoints"></a> [vpc\_endpoints](#output\_vpc\_endpoints)| Map of VPC endpoints created and their attributes |
62
63
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
63
64
64
65
Apache-2.0 Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-aws-opensearch/blob/master/LICENSE).
0 commit comments