-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(opensearch): improve error message generation logic (#32651)
### Issue # (if applicable) N/A ### Reason for this change Modified the code so that error messages don't need to be changed when adding new instance types in #32592. Ref: #32592 (comment) In #32592 , refactoring was only done for bug-related parts, so this PR will refactor the remaining areas. ### Description of changes * Improve error message generation logic for encryption at rest and ultra warm. * Refactor unit tests. ### Describe any new or updated permissions being added Nothing <!— What new or updated IAM permissions are needed to support the changes being introduced ? --> ### Description of how you validated changes Re-run unit tests and integ tests ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information
Showing
2 changed files
with
31 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters