Skip to content
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

AWS IRSA support and Eventbridge reaction #140

Merged
merged 13 commits into from
Feb 13, 2025

Conversation

ruokun-niu
Copy link
Contributor

Description

This PR adds two types of new identity: AwsIamRole and AwsAccessKey.

This PR also adds the AWS EventBridge reaction, which only supports authentication using one of the two identity types listed above. If using IRSA, the IAM role must have the PutEvents permission for Eventbridge.

Sample yaml using IRSA:

kind: Reaction
apiVersion: v1
name: drasi-eventbridge
spec:
  kind: EventBridge
  identity:
    kind: AwsIamRole
    roleArn:  <role-arn>
  queries:
   <query-id>:
  properties: 
    eventBusName: xxxxx

Sample yaml using AwsAccessKey:

kind: Reaction
apiVersion: v1
name: drasi-eventbridge-2
spec:
  kind: EventBridge
  identity:
    kind: AwsIamAccessKey
    accessKeyId: 
      kind: Secret
      name: eventbridge-creds
      key: accessKeyId
    secretAccessKey: 
      kind: Secret
      name: eventbridge-creds
      key: secretAccessKey
     region: <region>
  queries:
    <query-id>:
  properties: 
    eventBusName: xxx

Type of change

  • This pull request fixes a bug in Drasi and has an approved issue (issue link required).
  • This pull request adds or changes features of Drasi and has an approved issue (issue link required).
  • This pull request is a minor refactor, code cleanup, test improvement, or other maintenance task and doesn't change the functionality of Drasi (issue link optional).

Fixes: #issue_number

…drasi-platform into eventbridge-reaction

* 'eventbridge-reaction' of https://github.com/ruokun-niu/drasi-platform:
  Update Dockerfile
  Update Dockerfile
  Update Dockerfile
  storage queue reaction build
  Initial Kubernetes source (drasi-project#137)
  Source Subscription deletion (drasi-project#136)
@ruokun-niu ruokun-niu merged commit 6fe3415 into drasi-project:main Feb 13, 2025
32 checks passed
ruokun-niu added a commit to ruokun-niu/drasi-platform that referenced this pull request Mar 4, 2025
…si-platform into debug-base-images

* 'debug-base-images' of https://github.com/ruokun-niu/drasi-platform:
  Transition to Native Multi-Platform Builds for Docker Images (drasi-project#161)
  Bump jinja2 from 3.1.4 to 3.1.5 in /reactions/sdk/python (drasi-project#135)
  Bump vite in /reactions/signalr/signalr-reaction/clients/vue (drasi-project#142)
  Bump nanoid in /reactions/signalr/signalr-reaction/clients/react/example (drasi-project#131)
  Bump openssl from 0.10.66 to 0.10.71 in /query-container (drasi-project#160)
  Bump golang.org/x/crypto from 0.26.0 to 0.31.0 in /cli (drasi-project#132)
  Bump nanoid in /reactions/signalr/signalr-reaction/clients/vue/example (drasi-project#130)
  Bump openssl from 0.10.68 to 0.10.71 in /sources/sdk/rust/example/proxy (drasi-project#158)
  Bump io.undertow:undertow-core from 2.3.15.Final to 2.3.17.Final in /sources/sdk/java (drasi-project#127)
  Bump esbuild from 0.16.17 to 0.25.0 in /dev-tools/vscode/drasi (drasi-project#151)
  Bump openssl from 0.10.66 to 0.10.70 in /control-planes/mgmt_api (drasi-project#148)
  Remove Fixed Dapr Version Constraint (drasi-project#147)
  Gremlin Reaction hotfix (drasi-project#149)
  EventHub Source (drasi-project#152)
  Configured the EventGrid Reaction to use different schemas (drasi-project#138)
  AWS IRSA support and Eventbridge reaction (drasi-project#140)
  init logging (drasi-project#153)
  Dotnet source sdk (drasi-project#144)
  Refactor Relational Source and add MySQL Support. (drasi-project#146)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants