Skip to content

Conversation

younsl
Copy link

@younsl younsl commented Oct 25, 2024

Description

No code changes, only update docs and complete examples.

Motivation and Context

  • Clarify complete example
  • Update engine_version and off_peak_window_options input in docs

Breaking Changes

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request
$ pre-commit run -a
Terraform validate.......................................................Passed
check for merge conflicts................................................Passed
fix end of files.........................................................Passed
trim trailing whitespace.................................................Passed

* To help users understand, an example setting for the multi_az_with_standby_enabled value is explicitly declared.

Signed-off-by: younsl <[email protected]>
* Included multi-AZ standby and dedicated master node settings for clarity.

* Provided a link to AWS documentation for additional context on off-peak windows.

* Sort cluster_config values
* Using pre-commit run -a before submit PR
* Apply linting in example written by markdown.
@bryantbiggs
Copy link
Member

why?

@younsl
Copy link
Author

younsl commented Oct 25, 2024

@bryantbiggs To make it easier for Terraform users to work with the module.

@bryantbiggs
Copy link
Member

How so?

@younsl
Copy link
Author

younsl commented Oct 25, 2024

How so?

  • Added example values to the complete example and provided additional context in the input documentation to enhance user understanding.

Based on my user experience (using this module v1.4.0), the input descriptions were relatively lacking compared to the OpenSearch Terraform module maintained by CloudPosse, and the absence of many example values made it inconvenient.

Additionally, the fact that snapshot_options is not supported by this module v1.4.0 falls under a similar context.

@bryantbiggs
Copy link
Member

thank you but unfortunately, this is what the documented variables are for. examples just demonstrate various configurations but they are not exhaustive. The documented inputs are there to show users what values the module accepts as inputs, not the examples https://github.com/terraform-aws-modules/terraform-aws-opensearch/blob/master/README.md#inputs

Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants