opensearch-project / opensearch-project/data-prepper
Support configurable error message from STS
@dlvenable is already working on this.
Since Jul 12, 2023.
- Dominant language
- Java
- Stars
- 374
- Forks
- 354
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 8
Description
Is your feature request related to a problem? Please describe.
The error message provided by STS when assuming may not always be the most useful message to present.
Describe the solution you'd like
Allow configuration of the AWS plugin to change the error message provided when assuming a role.
This message can use some formatting to make it dynamic.
e.g.
Unable to assume role ${stsRoleArn} from Amazon STS.
This may yield:
Unable to assume role arn:aws:iam::123456789012:role/MyRole from Amazon STS.
Configuration in data-prepper-config.yaml:
aws:
sts_errors:
default_error: Unable to assume role ${stsRoleArn} from Amazon STS.
Additional context
This relates to the ongoing work in the AWS plugin in #2570. And it requires that extension plugins can add new configurations to data-prepper-config.yaml which is part of the extensions work in #2588.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.