opensearch-project / opensearch-project/data-prepper
[BUG] Does not assume service account role
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 374
- Forks
- 354
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 8
Description
Describe the bug
We have tried to launch it on aws eks to be able to send logs from alb to aws opensearch.
We wanted to use service account role, but data prepper always try to assume instance role instead of service account.
To Reproduce
Steps to reproduce the behavior:
- Create IRSA role on aws
- Launch data prepper on aws eks and assign IRSA role to service account
- Setup config to send logs to aws opensearch
- See error
Expected behavior
IRSA role should be assumed instead of instance
Screenshots
Environment (please complete the following information):
- EKS 1.27
- data-prepper 2.3.1
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.
Research direction
Begin with the EKS 1.27 and Data Prepper 2.3.1 setup described above, including the IRSA assignment and OpenSearch configuration. Verify which AWS role is selected when logs are sent. Done means the service-account role is assumed instead of the instance role, with a regression check for this deployment path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, java, kubernetes
- Domain
- authentication, backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100