opensearch-project / opensearch-project/data-prepper

[BUG] Does not assume service account role

Open
#2,914 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug enhancement
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:

  1. Create IRSA role on aws
  2. Launch data prepper on aws eks and assign IRSA role to service account
  3. Setup config to send logs to aws opensearch
  4. See error

Expected behavior
IRSA role should be assumed instead of instance

Screenshots
data prepper error

Environment (please complete the following information):

  • EKS 1.27
  • data-prepper 2.3.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.