-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add use_off_peak_window arg to auto_tune_options block for aws_opensearch_domain #36067
feat: Add use_off_peak_window arg to auto_tune_options block for aws_opensearch_domain #36067
Conversation
Community NoteVoting for Prioritization
For Submitters
|
…opensearch_domain
a446792
to
c8a219f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccOpenSearchDomain_autoTuneOptions\|TestAccOpenSearchDomain_basic' PKG=opensearch ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/opensearch/... -v -count 1 -parallel 2 -run=TestAccOpenSearchDomain_autoTuneOptions\|TestAccOpenSearchDomain_basic -timeout 360m
=== RUN TestAccOpenSearchDomain_basic
=== PAUSE TestAccOpenSearchDomain_basic
=== RUN TestAccOpenSearchDomain_autoTuneOptions
=== PAUSE TestAccOpenSearchDomain_autoTuneOptions
=== CONT TestAccOpenSearchDomain_basic
=== CONT TestAccOpenSearchDomain_autoTuneOptions
--- PASS: TestAccOpenSearchDomain_autoTuneOptions (1813.36s)
--- PASS: TestAccOpenSearchDomain_basic (2069.02s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/opensearch 2077.928s
@acwwat Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.40.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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. |
Description
This PR is to add a new
use_off_peak_window
argument to theauto_tune_options
configuration block for theaws_opensearch_domain
resource. To make this work, I had to removeComputed: true
from themaintenance_schedule
config block schema, otherwise it would keep loading the existing config blocks even though they are removed from the TF config in an update scenario.Relations
Closes #33208
References
Referred to CreateDomain and UpdateDomainConfig for the specs and description.
Output from Acceptance Testing