-
Notifications
You must be signed in to change notification settings - Fork 9.5k
r/aws_elasticache[user|user_group|replication_group]: deprecate non-exact engine
values
#42419
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
Conversation
Community GuidelinesThis comment is added to every new Pull Request to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀 Voting for Prioritization
Pull Request Authors
|
|
2f5232e
to
f2f9bf5
Compare
This validator returns a warning diagnostic if the argument value matches a valid value using unicode case-folding, but is not an exact match. It can be used to provide deprecation warnings in cases where non-exact enum value matching is deprecated and planned for removal in future versions.
…xact `engine` values This change deprecates the ability to provide values to the `engine` argument which do not match the casing returned by the AWS API. In `v7.0.0` these resources will require exact value matches during plan time validation. ```console % make testacc PKG=elasticache TESTS=TestAccElastiCacheUser_ make: Verifying source code with gofmt... ==> Checking that code complies with gofmt requirements... TF_ACC=1 go1.24.2 test ./internal/service/elasticache/... -v -count 1 -parallel 20 -run='TestAccElastiCacheUser_' -timeout 360m -vet=off 2025/04/29 15:02:18 Initializing Terraform AWS Provider... --- PASS: TestAccElastiCacheUser_updateEngine (33.57s) --- PASS: TestAccElastiCacheUser_basic (35.65s) --- PASS: TestAccElastiCacheUser_passwordAuthMode (38.07s) --- PASS: TestAccElastiCacheUser_iamAuthMode (40.25s) --- PASS: TestAccElastiCacheUser_tags (97.48s) --- PASS: TestAccElastiCacheUser_update (97.78s) --- PASS: TestAccElastiCacheUser_oobModify (163.52s) --- PASS: TestAccElastiCacheUser_updatePasswordAuthMode (165.17s) --- PASS: TestAccElastiCacheUser_disappears (216.02s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/elasticache 221.589s ``` ```console % make testacc PKG=elasticache TESTS=TestAccElastiCacheUserGroup_ make: Verifying source code with gofmt... ==> Checking that code complies with gofmt requirements... TF_ACC=1 go1.24.2 test ./internal/service/elasticache/... -v -count 1 -parallel 20 -run='TestAccElastiCacheUserGroup_' -timeout 360m -vet=off 2025/04/29 15:09:40 Initializing Terraform AWS Provider... --- PASS: TestAccElastiCacheUserGroup_tags (149.80s) --- PASS: TestAccElastiCacheUserGroup_disappears (151.02s) --- PASS: TestAccElastiCacheUserGroup_basic (153.59s) --- PASS: TestAccElastiCacheUserGroup_update (335.61s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/elasticache 341.074s ``` ```console % make testacc PKG=elasticache TESTS=TestAccElastiCacheReplicationGroup_Redis_basic make: Verifying source code with gofmt... ==> Checking that code complies with gofmt requirements... TF_ACC=1 go1.24.2 test ./internal/service/elasticache/... -v -count 1 -parallel 20 -run='TestAccElastiCacheReplicationGroup_Redis_basic' -timeout 360m -vet=off 2025/04/29 15:19:53 Initializing Terraform AWS Provider... --- PASS: TestAccElastiCacheReplicationGroup_Redis_basic_v5 (785.84s) --- PASS: TestAccElastiCacheReplicationGroup_Redis_basic (786.38s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/elasticache 792.039s ```
f2f9bf5
to
aaf4c9a
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 🎉
Warning This Issue has been closed, meaning that any additional comments are much easier for the maintainers to miss. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
Description
This change deprecates the ability to provide values to the
engine
argument which do not match the casing returned by the AWS API. Inv7.0.0
these resources will require exact value matches during plan time validation.Relations
Closes #40813
Relates #41101
References
Output from Acceptance Testing