cyberlabrs / terraform-aws-opensearch

Terraform module to provision an OpenSearch cluster with SAML and Cognito authentication.
Apache License 2.0
31 stars 13 forks source link

feat: Add support for off peak window options #30

Closed lplazas closed 9 months ago

lplazas commented 9 months ago

Closes https://github.com/cyberlabrs/terraform-aws-opensearch/issues/29

Implement support for off_peak_window_options, this was implemented in the provider in: https://github.com/hashicorp/terraform-provider-aws/pull/30965/files.

Implemented as 2 separate variables as either one is optional, but all the fields in window_start_time are required.

Tested with existing domains created after February 16, 2023, which means all the domains had off_peak_window_options enabled by default, see the Note in the documentation for more info about this: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/off-peak.html

andros3 commented 9 months ago

Thank you for your contribution :)